You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ewaldbenes You are correct in your assessment. I encourage you to create a PR against the upcoming v5 release (in the rjsf-v5 branch). Ping me on the discord server if you need help
Prerequisites
What theme are you using?
core
Version
4.2.0
Current Behavior
I want to customize the appearance of the submit button via passing custom CSS classes. I took the example from the docs to accomplish that.
my-custom-class
is never injected into the DOM.I figured out that this line of code in file
packages/core/src/components/widgets/SubmitButton.js
causes the
className
property content always to be overwritten withbtn btn-info
which renders this property useless.Am I right with my conclusion? If yes, should I provide a PR or how should we proceed on this?
Expected Behavior
Custom provided CSS classes should override all default or existing classes.
Steps To Reproduce
Happens always if schema contains customization for the submit button as described above.
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: