The isDirty state in react-hook-form is not updating correctly when using react-multi-date-picker in conjunction with Controller from react-hook-form. Specifically, when the date value changes in the DatePicker, isDirty does not reflect this change, leading to incorrect form validation and submission behavior.
The isDirty state in react-hook-form is not updating correctly when using react-multi-date-picker in conjunction with Controller from react-hook-form. Specifically, when the date value changes in the DatePicker, isDirty does not reflect this change, leading to incorrect form validation and submission behavior.