Hi,
I’m using the following code, in the onReady function to try and add ‘ENGLISH’ as the first option in a dropdown list of languages but it doesn’t appear to be working?
let languageOptions = $w("#ddPrimaryLanguage").options;
languageOptions.unshift({
value: "ENGLISH",
label: "ENGLISH"
});
$w("#ddPrimaryLanguage").options = languageOptions;
Any suggestions?
Thanks,
Rachel