Field Validation
Overview
Description....
Interactive demo
The demo below allows you to preview the component. You can play with its props, variations, configuration options and dive into its events and even see them trigger in the event log tab.
MedKit Field Validation
Oh no! There seems to be a little bit of a problem.
Id
string
Required
Value
string
Array<string>
Multiline message
Length is never an issue with this helper. Your message can be as long as you need. Note: Error messages wrap
Length is never an issue with this helper. Your message can be as long as you need and wraps to the size of the field it is attached to.
Multiple messages
The message also supports arrays of values and can present them neatly to the user.
- Firstly it is misspelt
- Secondly it is not enough of an explanation
- Thirdly the validator doesn't like it.
Figma Library
You can find the component in our MedKit Figma library.