BasePanel.js - ALS screws up attributes!
I do NOT use ALS, but nevertheless, {{BasePanel.updateAls}} forces the attribute control "allowBlank" value to whatever this method "thinks" right.
For example, I deliberately set allowBlank: true
- I do not way the asterisk to show for a field, because I made field readonly on form and calculate attribute value inside the form. I just do not want to show the asterisk, so I set:
{attributeName: 'total', readOnly: true, allowBlank: true}
But that BasePanel.updateAls
screws it up and in 2172 line of BasePanel.js executes:
if (allowBlank !== field.allowBlank) {
field.setAllowBlank(allowBlank)
}
I have no experience with ALS mixin, so it is not trivial for me to suggest fix, but man, I do not even use ALS, why this method tamper with my form attributes?