Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

Lock icon still visible

Walmag Castro S
Tera Guru

Hello.
After adding the attribute "start_locked=false" to a list type field, the lock icon remains visible.

The solution I developed was to create a Client Script with the following line "document.getElementById('change_request.u_select_tasks').style.display = 'none';"

But I´m not sure if this is the best solution.
PS: there is no conflict with UI Policy or Client Scripts.

 

 

lock icon.png

 

attributes.png

 

script.png

 

Thanks in advance.

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@Walmag Castro S 

so the lock icon is shown but it's not clickable i.e. it is locked?

if yes then I believe your requirement is achieved.

No. It´s clickable. When clicked, the button desappears and nothing happens. But I don´t want it visible.

@Walmag Castro S 

so you want the lock icon to be hidden always?

If yes then how users will select value in it?

The value can be inserted because the field is already opened, as shown above. I just wanted to hide the lock icon.