Display the Dropdown box is read-only field based on user Roles

Hi, I want to display the dropdown as editable based on userroles.If the user is admin user i want to make it as editable,otherwise the dropdown should be read-only field.Could you please help us how we can achive.
1 answers

You can solve it in within entity access (double clik entity in domain model, tab acces rules). That's the best option if it's behavior you always want through all forms.

The other option is to right click the widget and choose "edit condition for editable".