Appearance
FormInfo
This is a very small component responsible for displaying additional information about a field in the form. Field support text helps better define what the user should enter in the form field. The justification for the existence of this component is based on the following principles:
- placeholder or mask may describe what should be included in the input, but the user loses this information when filling in the field;
- the validation message should indicate a specific problem in the validation, but information about what should be entered should be available at all times;
- info appears under the field and under validation;
- info cannot be a label because it may have the form of a sentence or a longer description.
Props
text
required
Information text
type:
String
Examples
html
<form-info text="This should be a nice email address" />