Skip to content

[FEAT] warnWhenUnsavedChanges prop for useEditableTable #6811

@codercody

Description

@codercody

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions