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

Trocando o label de um form dinâmicamente #8

Open
controllernet opened this issue Jul 19, 2018 · 0 comments
Open

Trocando o label de um form dinâmicamente #8

controllernet opened this issue Jul 19, 2018 · 0 comments

Comments

@controllernet
Copy link

controllernet commented Jul 19, 2018

serenity-is/Serenity#941

// para campos obrigatórios
let texto = this.form.Nomcli.getGridField().find('.caption').prop('outerHTML').split('Razão Social').join('Nome');

this.form.Nomcli.getGridField().find('.caption').prop('outerHTML',texto);

para campos normal(não obrigatório), mais simples:
this.form.Nomcli.getGridField().find('.caption').text('Nome');

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