Skip to content

custom fields: Add Overridable support #297

@palkerecsenyi

Description

@palkerecsenyi

Add support for using parametrize and Overridable with custom fields.

This requires:

  • Being able to specify an Overridable ID for your custom field in the deposit form
  • Creating a system of 'dynamic' Overridables in the field rendering that apply the user-provided ID
  • A simple user-friendly way of parameterizing your components

As part of inveniosoftware/invenio-app-rdm#3100, this will eventually allow you to, for example, hide/show a custom field based on the Resource Type of the record. But also you will be able to arbitrarily override all of the props of your custom field based on any value in the form state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    In review 🔍

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions