Skip to content

FileInput: configure required and value properties - #2045

Open
labkey-nicka wants to merge 11 commits into
developfrom
fb_file_input_req
Open

FileInput: configure required and value properties#2045
labkey-nicka wants to merge 11 commits into
developfrom
fb_file_input_req

Conversation

@labkey-nicka

@labkey-nicka labkey-nicka commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Rationale

This addresses #1388 by updating the FileInput to pass the required and value properties into the Formsy wrapper.

Related Pull Requests

Changes

  • Update FileInput to prepare the required and value properties for Formsy so that it can participate in form validation.
  • Introduce useDisableableInput hook as a replacement for the now deprecated DisableableInput class.
  • Refactor FileInput to a functional component and use useDisableableInput.
  • Refactor FieldLabel to a functional component and stop mutating props.
  • Add unit tests

@labkey-nicka labkey-nicka self-assigned this Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant