Not applicable

@Ankur Bawiskar 

Yes, you are right my script works reliably in Classic/Native UI, but in Workspace it depends on how the field is rendered.