tkrotoff / react-form-with-constraints

Simple form validation for React
MIT License
126 stars 20 forks source link

Unable to display error message for Input:hidden #33

Closed hanabyan closed 6 years ago

tkrotoff commented 6 years ago

See the notes: https://github.com/tkrotoff/react-form-with-constraints#notes and this example to play with: https://codepen.io/tkrotoff/pen/gdjVNv

hanabyan commented 6 years ago

Thanks @tkrotoff , it works as per your explanation. Yet its tough to get change event from input:hidden as well. So my workaround is using input:text with display 'none', since i need to manually trigger the change event, to use for field validation later. Good job anyway.