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
Still makes the button to show up with the text "SUBMIT", even though from the SubmitField source code I see that your intention was to show children when defined.
I think you have an error in your SubmitField code, this:
Hi @ChakirMrabet. Indeed, there is a small inconsistency, especially between packages, as AntD and Material have their own components, and the rest is using simple <input type="submit">. Anyway, you can workaround this with label="" and using children, or using label directly.
It should be changed for the next version though. If you'd like to submit a PR for it, go ahead - just do it for the v2 branch.
For Material-UI, This:
Still makes the button to show up with the text "SUBMIT", even though from the
SubmitField
source code I see that your intention was to showchildren
when defined.I think you have an error in your
SubmitField
code, this:Should be this:
{label || children}
will be alwayslabel
since it's defined as default.I've tested and works.
The text was updated successfully, but these errors were encountered: