Hello,
I’m having some trouble with the dynamic read only.
I have a variable that’s set to 0, and my inputs have the read only attribute applied when that variable changes. I made it this way to prevent users from modifying inputs that shows data from the server connect.
The problem is that when I make those read only inputs editable, the ones that have null on the database, the input is set to null instead of nothing at all.
Here is a video with the bug:
an input example:
<input type="text" class="form-control" id="gas" name="gas" aria-describedby="gas_help" dmx-bind:value="QueryPropietarios.data.queryPropietarios.gas" dmx-bind:readonly="readonly.value == 0" autocomplete="nofill">
Community Page
Last updated:
Last updated: