HubSpot / cms-react

A repo to expose CMS react examples, React defaults modules, and more to CMS devs
http://github.hubspot.com/cms-react/
Apache License 2.0
18 stars 12 forks source link

Input validation on modules #23

Open nbutlerGG opened 4 months ago

nbutlerGG commented 4 months ago

Im currently trying to implement an email input field with validation using react-hook-forms which will eventually trigger a custom API. However, whenever I go to submit the form, I get an error form within cms-dev-server saying "Failed to validate module fields". I've been unable to find anything in particular about inputs in modules. Is there something Im missing when it comes to implementation?

Screenshot 2024-02-27 at 15 36 47