`validation={{ required: true }}` should return a generic "This field is required" message
thomasdigby opened this issue · 2 comments
thomasdigby commented
Using this validation={{ required: true }}
config now will result in no error message being shown.
Could (should?) we provide some default validation messages at the Form
level to allow users to pass i18n strings? e.g.
<Form validationMessages={{ required: 'This field is required', valueAsDate: 'Please add a valid date' }}>
<InputField validation={{ valueAsDate: true }} />
<CheckboxField value="yolo" validation={{ required: true }} />
</Form>
github-actions commented
This issue is stale because it has been open for a year with no activity. Remove stale label or comment or this will be closed in 7 days.
github-actions commented
This issue was closed because it has been stalled for a year with no activity.