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
It seems that the translation/localization are ongoing issues (as seen in #739 and #1986).
What we also need is a way to translate the AddButton (german in our case), which is not yet supported by the library.
The current solution uses plain JavaScript to change the HTML of the rendered form which we think of
as a rather inelegant and not permanent solution.
This is why we propose to add a ui:addButtonText field to the uiSchema to change the AddButton's text for a particular
field. For a simple uiSchema of const uiSchema = { "ui:addButtonText": "Custom button text" };
this would change the AddButton's text from the default Add Item to Custom button text.
Since the core and bootstrap themes do not have texts on the AddButton this would be a change concerning the other
four themes (antd, fluent-ui, material-ui and semantic-ui).
I have started a PR to work on that feature (#2348) Please share your thoughts and feedback.
The text was updated successfully, but these errors were encountered:
Prerequisites
Description
It seems that the translation/localization are ongoing issues (as seen in #739 and #1986).
What we also need is a way to translate the AddButton (german in our case), which is not yet supported by the library.
The current solution uses plain JavaScript to change the HTML of the rendered form which we think of
as a rather inelegant and not permanent solution.
This is why we propose to add a
ui:addButtonText
field to the uiSchema to change the AddButton's text for a particularfield. For a simple uiSchema of
const uiSchema = { "ui:addButtonText": "Custom button text" };
this would change the AddButton's text from the default
Add Item
toCustom button text
.Since the core and bootstrap themes do not have texts on the AddButton this would be a change concerning the other
four themes (
antd
,fluent-ui
,material-ui
andsemantic-ui
).I have started a PR to work on that feature (#2348) Please share your thoughts and feedback.
The text was updated successfully, but these errors were encountered: