You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dpitois opened this issue
Oct 6, 2023
· 1 comment
· Fixed by #974
Assignees
Labels
bugAn issue describing unexpected or malicious behaviour.confirmedThis label indicates that the issue has been reproduced and verified by the core team.released
I have searched for existing issues that already report this problem, without success.
Liquid version
5.6.4
Framework bindings
React
Current behavior
<LdInput /> with attribute readonly or disabled bind to a boolean value are still editable.
When passing the boolean value as string, the input becomes non editable as expected.
To mention we are using Preact v10 (not React) with Liquid React bindings.
The text was updated successfully, but these errors were encountered:
dpitois
added
bug
An issue describing unexpected or malicious behaviour.
triage
An issue that needs assessment to determine its validity and urgency
labels
Oct 6, 2023
dpitois
changed the title
bug:
bug: LdInput readonly bind on boolean value are still editable
Oct 6, 2023
borisdiakur
added
confirmed
This label indicates that the issue has been reproduced and verified by the core team.
in progress
This label indicates that the issue is currently being worked on.
and removed
triage
An issue that needs assessment to determine its validity and urgency
labels
Oct 9, 2023
bugAn issue describing unexpected or malicious behaviour.confirmedThis label indicates that the issue has been reproduced and verified by the core team.released
Prerequisites
Liquid version
5.6.4
Framework bindings
React
Current behavior
<LdInput />
with attributereadonly
ordisabled
bind to a boolean value are still editable.When passing the boolean value as string, the input becomes non editable as expected.
Expected behavior
The input should act as readonly or disabled when I bind a boolean value to these attributes.
Steps to reproduce
Code reproduction URL
https://github.com/dpitois/ld-Input-attributes
Additional information
To mention we are using Preact v10 (not React) with Liquid React bindings.
The text was updated successfully, but these errors were encountered: