Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to replace theme's buttons entirely? #4288

Closed
1 task done
CarlosAmaral opened this issue Sep 2, 2024 · 2 comments
Closed
1 task done

Is it possible to replace theme's buttons entirely? #4288

CarlosAmaral opened this issue Sep 2, 2024 · 2 comments
Labels
awaiting response question templates Related to the templates capabilities of RJSF

Comments

@CarlosAmaral
Copy link

Prerequisites

What theme are you using?

bootstrap-4

What is your question?

Hi, as the example below, we have a + button in some cases that's produced by the UI library react-jsonschema is using. Is it possible to completely override this component?

Screenshot 2024-09-02 at 3 02 15 PM

@CarlosAmaral CarlosAmaral added needs triage Initial label given, to be assigned correct labels and assigned question labels Sep 2, 2024
@nickgros
Copy link
Contributor

nickgros commented Sep 6, 2024

@CarlosAmaral have you tried to override the ButtonTemplates (docs link)? I think the particular button in your screenshot is the AddButton.

@nickgros nickgros added awaiting response templates Related to the templates capabilities of RJSF and removed needs triage Initial label given, to be assigned correct labels and assigned labels Sep 6, 2024
@CarlosAmaral
Copy link
Author

@nickgros awesome, thank you! I was unaware of this spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response question templates Related to the templates capabilities of RJSF
Projects
None yet
Development

No branches or pull requests

2 participants