change type in runtime

change type in runtime

pmengopmengo Posts: 74Questions: 37Answers: 2
edited June 2016 in Editor

Is it possible to change the type of a field in runtime?

ex:
obj.editor.s.fields['desigMaquina'].s.opts.type='select';

but when editor opens is an input as before.

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    No, sorry. You would need to remove the field and then add a new one with the same name, but the different required type.

    Allan

  • pmengopmengo Posts: 74Questions: 37Answers: 2

    thaks

This discussion has been closed.