dile-input-message
Input text message field.
This component inherits all properties and methods from <dile-input>
, but it is only created for messaging purposes.
So, this component has not got any input interface. It can show messages and error messages. And is integrated with dile-form-mixin to show error messages on validation errors.
Install
npm install @dile/dile-input
Usage
Import the component.
import '@dile/dile-input/dile-input-message';
Use the component
<dile-input-message message="I am olny showing a message"></dile-input-message>
Clear error message
- clearError(): clear the message and the error state.