Field: setting enabled to false does not prevent onAction()

I had an onAction() event coded for a field, which I needed to disable sometimes.
The field was not editable, as only then the onAction makes sense and will fire.

But setting the field-property “enabled” to false did not work, I still could invoke the onAction.
So I had to replace that field by a label.

If someone can confirm this and also thinks this is a bug, I could create a ticket.

Hm, I meanwhile think a ticket is not really necessary, as the workaround with a label is easy.

If field is not enabled it shouldn’t fire onAction event. You can create a case for that. Also, no need to change it to label, you can manually check onAction the enable property (as a workaround).

Ok, I created the case

Thanks for the other workaround tip, Laurian!