refine icon indicating copy to clipboard operation
refine copied to clipboard

[FEAT] warnWhenUnsavedChanges prop for useEditableTable

Open codercody opened this issue 5 months ago • 1 comments

Is your feature request related to a problem? Please describe.

useEditableTable is a nice wrapper around useTable and useForm. The useForm hook for Ant Design accepts a warnWhenUnsavedChanges prop that I'd like to use. Unfortunately, this prop doesn't exist on useEditableTable, so there's no way to pass it to useForm.

Describe alternatives you've considered

Just ignore the typing errors and pass the prop raw dog into useEditableTable and hope it works properly.

Additional context

No response

Describe the thing to improve

Add the prop and pass it on to useForm.

codercody avatar May 22 '25 21:05 codercody