Closed MangelMaxime closed 1 month ago
Similarly to #81, if you set prop.readOnly false in an input then the input has the readonly attribute making it read only.
prop.readOnly false
readonly
Html.input [ prop.value "Some text" prop.readOnly false ]
generates:
<input _svid="27" readonly="false" >
but the input cannot be edited.
Work around:
Html.input [ prop.value "Some text" if false then // Condition prop.readOnly true ]
I did think I'd fixed this. Let me look into it.
Fixed in Sutil 2.0.14
Similarly to #81, if you set
prop.readOnly false
in an input then the input has thereadonly
attribute making it read only.generates:
but the input cannot be edited.
Work around: