chore(form): 🗑️ remove unused form components and types
* Refactor Former components to streamline functionality * Update stories to reflect changes in form structure
This commit is contained in:
@@ -86,10 +86,10 @@ const FormerInner = forwardRef<FormerRef<any>, Partial<FormerProps<any>> & Props
|
||||
|
||||
if (formMethods) {
|
||||
formMethods.subscribe({
|
||||
formState: { isDirty: true },
|
||||
callback: ({ isDirty }) => {
|
||||
setState('dirty', isDirty);
|
||||
},
|
||||
formState: { isDirty: true },
|
||||
});
|
||||
}
|
||||
}, [formMethods]);
|
||||
|
||||
Reference in New Issue
Block a user