Skip to content

Conversation

palkerecsenyi
Copy link
Member

Closes inveniosoftware/react-invenio-forms#297

Releasing this PR before inveniosoftware/react-invenio-forms#298 should not cause any problems as existing React widgets will simply ignore the id prop.


Description

  • Added an injection of the field ID (e.g. cern:department) to the React UI widget chosen for the custom field via a new id prop.

  • This is consumed by the new function in overridable: Implement for custom fields react-invenio-forms#298 and used to allow developers to dynamically parametrize their own custom fields based on the form state.

  • This is not a breaking change and shouldn't affect any existing custom fields

* Added an injection of the field ID (e.g. `cern:department`) to the
React UI widget chosen for the custom field via a new `id` prop.

* This is consumed by the new function in
inveniosoftware/react-invenio-forms#298 and used
to allow developers to dynamically parametrize their own custom fields
based on the form state.

* This is not a breaking change and shouldn't affect any existing custom
fields
@palkerecsenyi palkerecsenyi force-pushed the forward-id-to-custom-fields branch from da31d13 to 82abd64 Compare July 25, 2025 13:40
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.

custom fields: Add Overridable support
1 participant