Posted: 18 Apr 2018 13:58 EDT Last activity: 10 May 2018 8:31 EDT
Disabled Dropdown Options?
I'm hoping someone can help me out with this. I am working with a dropdown control where some options are visible but are "disabled" and not selectable (screenshot below). After searching in the control, flow action, section, layouts, etc. I still cannot find out how this is functioning.
I would like to do the same functionality of disabled dropdown options somewhere else in the application but it seems to me that this is not an OOTB functionality.
Here are some screenshots below of the General, Presentation, and Actions tabs of the dropdown control. Any insight into how this is being done would be very helpful.
I saw that post before posting this. Unfortunately, my knowledge is limited in how I could include that HTML on load of the screen. I have checked on the harness, section, flow action, and even the dropdown control itself. None of these items seem to have that code on them.
Upon checking the developer tools in my browser I was able to see that the disabled options have the "disabled" property on them but how is this implemented?
Here's the code I included on the HTML tab:
var dropdownOptions = document.getElementById('CeCDAcctSeq').options;