Input dynamic attributes not correctly applied

======== TEMPLATE BUG FORM ========

Wappler Version : 2.4.3
Operating System : Windows 10

Expected behavior

What do you think should happen?

When applying dynamic attributes - read-only or disabled - to a form input, the attributes should be applied

Actual behavior

What actually happens?

The attributes are not applied - or rather they are but without a value of ‘true’, so the attribute has no effect.

How to reproduce

Select an input field and add a dynamic attribute, eg Disabled. Here I’ve added the ‘true’, and it works as expected (ie the input is disabled). Previously, Wappler added the ‘true’ value.

image

(This is a little similar to a bug which was fixed in the last update - where some some options selected in the UI were not applied to the code.)

Out of pure and utter interest, if you type in the word true in the value field and press tab when done does it then apply to the code, this is something i have found has often been the cause of code not updating, after anything i type i hit tab to apply it.

Edit: Ignore me, i have just reread what you meant, and mine is the same, if i add the Disabled dynamic attribute I have to manually make it true.