This line of code was working just fine a week ago:
fd.field(‘Status’).disabled = true;
Yesterday I noticed that the status field is now enabled but this line is still part of the code and no changes were made there. The are other fields on the form that are disabled using the same mechanism and there is no issue with them. Since the only difference I can think of is the type of the field, which is choice, I just tried to disable another choice field and it is not working for it as well. Is there any chance there is a breaking change from Microsoft on the choice field rendering that is causing this code not to work anymore? Just to mention that this is happening on multiple forms and in multiple browsers (IE & Chrome).
Thank you, Nikita. The workaround works fine. Just a minor correction in case somebody else is using that as well - you need to apply “#F1F3F5” as background color in order to be consistent with the other disabled fields.
Dear Andre,
Yes, indeed, there were changes and regular dropdown was replaced with Kendo Dropdownlist. To remove certain options from selection, please, use: