rjsf-team/react-jsonschema-form
Vedi su GitHubButtonTemplates: differentiate between array and object AddButton
Open
#3175 aperta il 4 ott 2022
featurehelp wanted
Metriche repository
- Star
- (13.175 star)
- Metriche merge PR
- (Merge medio 3g 17h) (32 PR mergiate in 30 g)
Descrizione
Prerequisites
- I have read the documentation
What theme are you using?
core
Is your feature request related to a problem? Please describe.
v5 adds ButtonTemplates.AddButton, but in my case we want to use different icons between adding items to an array vs adding additionalProperties to an object
Describe the solution you'd like
- Different button templates for the add to array and add to object
- OK to have one fall back to the other if needed to avoid a breaking change or to keep the interface simple
Describe alternatives you've considered
No response