Skip to content

The Reset button clears the value of hidden type input fields. #44

@axoide

Description

@axoide

To prevent the Reset button from erasing the value of hidden type input fields before submitting the form, it is necessary to modify the jQuery code in the ResetButton Class (ViewComponents\ViewComponents\Component\ManagedList\ResetButton).
I propose to modify line #25 as follows:
--- . 'form.find("input:not([type=\'submit\']), select").val("");'
+++ . 'form.find("input:not([type=\'submit\'], [type=\'hidden\']), select").val("");'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions