Page 1 of 1

Object type "select" / Acccess: Readonly

Posted: Wed Feb 21, 2018 2:16 pm
by toms
Hi,

Even when Access = Readonly, an item can still be selected from the select object and the change is also stored in the db.
readonly.png
Possible solution:

This makes the select readonly but you can still see the items (greyed out)

Code: Select all

$('#myfield option:not(:selected)').prop('disabled', true);
readonly_dropdown.png

Re: Object type "select" / Acccess: Readonly

Posted: Wed Feb 21, 2018 7:03 pm
by admin
toms,

A patch for that is now on Github.

Let me know if it works for you.


Steven

Re: Object type "select" / Acccess: Readonly

Posted: Wed Feb 21, 2018 9:15 pm
by toms
It works, thanks!

Re: Object type "select" / Acccess: Readonly

Posted: Wed Feb 21, 2018 9:19 pm
by admin
.