Hi,
I’m trying to call setOptions() and hide() functions on a select formControl but I get the error " setOptions is not a function". Same error for hide().
Has it been deprecated ? If yes, anything to replace it ?
Here is my code :
var type_options = [
{value: "marche", content: "marché"},
{value: "ts", content: "TS"},
]
form.getItem('fp_type').setOptions(type_options);
Also I can’t get combo being disabled using
form.getItem(‘combo’).config.disabled = true;
form.getItem(‘combo’).paint();
(this works fine with select though)
Thanks for help.