Drop Downs Not Selectable on Mac Chrome (Stuck on first option)

0
Users Machine: Macbook/Mojave 10.1.405 Browser: Chrome 74.0.03720.169 We have added a bit of Javascript to the app to remove the Blank space in drop-downs and replace them with “Select”. We had to use an Interval because depending on when the page loads we have to catch the data in the Drop-down. This isn’t a problem in any browser or OS other than what is listed above. The issue is that in that specific OS/Broswer the drop-downs are not responsive. The user cannot select anything other than the first option. setInterval(function() {      $(".form-control").children('option[value=""]').html("Select"); }, 1000);
asked
3 answers
2

Hello Eric,

I’d suggest using Mendix out-of-the-box functionalities whenever possible. There’s an option when you edit a reference selector or a drop-down called “Empty option caption” (under General) that allows you to customize the text of the “Blank space” option.

answered
0

I agree with Abdullah's comment. Additionally, setTimeout() seems more logical than setInterval(), since the latter will cause that your function is called every second.

answered
0

Hi Eric,

Did you go this route to add placeholder text to your drop down? If so, you can check out the Dropdown selector widget.

https://appstore.home.mendix.com/link/app/41730/

 

answered