dschnelldavis / angular2-json-schema-form

Angular 2 JSON Schema Form builder
MIT License
285 stars 177 forks source link

Create custom validations for Date field #316

Open Liahus1996 opened 5 years ago

Liahus1996 commented 5 years ago

Is it possible to have custom validation for date field (such as format) and make the form invalid in case of value not matching the format. I believe the schema form returns invalid when AJV supported keywords validation triggers but when custom validation is added, even when the custom validation returns true the form remains valid. Is there a way to handle this ?