I am working on a form using react-hook-form, I needed a searchable select so I created a component using react-select. My problem is, I am passing a default value on load and if I use trigger() to validate the field, I get an invalid on the <Select>.. this getValues() it pulls the correct value.. If I select a new value in the dropdown, it works.. just won't accept a default value..
I created a sandbox if anyone has time to take a look?