editor. do not act if setting label value
editor. do not act if setting label value
Lapointe
Posts: 430Questions: 81Answers: 4
hi
when using
editor
.show('recettes.ID_Prestation', false)
.show('recettes.Remise', false)
.field('recettes.Remise').label('Remise (%)');
OK
if using
editor
.field('recettes.Remise').label('Remise (%)')
.show('recettes.ID_Prestation', false)
.show('recettes.Remise', false);
show do not display control...
perhaps because setting label value on hidden field ????
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Yep,
field().label()
returns astring
, so can't be chained like the second code block.show()
returns an Editor instance, so the first code block is the way to go!Colin
Hi @colin