Fixed #2507 - The default severity of the InlineMessage is info, but in the code the default severity is 'error'.
parent
cdcdd05ddb
commit
5a8ef46c42
|
@ -2,7 +2,7 @@ const InlineMessageProps = [
|
||||||
{
|
{
|
||||||
name: "severity",
|
name: "severity",
|
||||||
type: "string",
|
type: "string",
|
||||||
default: "info",
|
default: "error",
|
||||||
description: 'Severity level of the message. Valid severities are "success", "info", "warn" and "error".'
|
description: 'Severity level of the message. Valid severities are "success", "info", "warn" and "error".'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -139,7 +139,7 @@ import InlineMessage from 'primevue/inlinemessage';
|
||||||
<tr>
|
<tr>
|
||||||
<td>severity</td>
|
<td>severity</td>
|
||||||
<td>string</td>
|
<td>string</td>
|
||||||
<td>info</td>
|
<td>error</td>
|
||||||
<td>Severity level of the message.</td>
|
<td>Severity level of the message.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in New Issue