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

field group name on a form cannot be a variable to support multiple language #2566

Open
AlanSkyNet opened this issue Sep 30, 2024 · 0 comments

Comments

@AlanSkyNet
Copy link

On a form, I can have a group of fields :
searchCase: {
name: 'searchCase',
header: stSearchCase,
focus: -1,
style: gstyle,
fields: {
'Values': {
type: 'group', span: -1,
attr: 'style="width: 100%"',
style: gstyle,
fields: [
{ field: 'keyword', type: 'text', html: { label: stKeyword }},
{ field: 'casecode', type: 'text', html: { label: stCaseCode }},
]
},

I want the 'Values' entry to be a javascript variable in order to set it with a different text depending on user language.
it could be a new attribute name that overrides the 'Values' group name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant