You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently all modals except the calculator page use this custom hook for setting, clearing modal data. The hook doesn't have in built validation, so that is handled in the specific modal components. The general Modal component requires a tonne of functions to be passed as props for onSuccess and onDismiss. The current implementation can be more streamline.
Currently all modals except the calculator page use this custom hook for setting, clearing modal data. The hook doesn't have in built validation, so that is handled in the specific modal components. The general
Modal
component requires a tonne of functions to be passed as props for onSuccess and onDismiss. The current implementation can be more streamline.Need to investigate good way to consolidate forms in React, with better validation and pre-population. Try https://formik.org/ and https://github.com/jquense/yup
The text was updated successfully, but these errors were encountered: