Buttons and Icons not getting set as Read-Only or getting hidden using pxIsEditable
I have a requirement where I need to make all the fields of the embedded sections as read-only. I am using the "read only (always)" option in the presentation tab which makes all the fields set to auto as read only other than icons/buttons. For buttons/icons I am using OOTB when rule "pxIsEditable" which works fine except in one of the section which has repeating dynamic layout. The when rule works for the first instance of the repeating dynamic layout but not for the subsequent ones. Also it doesn't works on icons/buttons which are in a table set to "click row to edit"
This is a known limitation. Instead of 'pxIsEditable' when condition, you can try "!$input-Enabled".
Keep up to date on this post and subscribe to comments