Hello,
I found this original reply from a 2017 post and I'm looking for a current modification.
Issue:
I have several tables with dropdowns. As an option is chosen and the form submitted, a workflow tags that option and it gets remove from the view. So the next time the form is opened, that option is no longer available in the dropdown.
Eventually, the dropdown list has one item left. That item is auto-populated in the dropdown on load. I'd like to have the dropdown always be empty on load and remain chosen (when the option is chosen) on all other lookups are triggered.
I believe the modification to the code above accomplished the empty on load.
However, as I check the lookup.js file, I see 3 places that it references '<option selected="selected">' and I'm not clear what I need to change to get the desired effect.
Thank You.