fix: 🐛 change disabled to readonly for form inputs (#2618)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15666
This commit is contained in:
1 parent
af8655ec45
commit
fce97fd57a
1 file changed
+2
-2
@@ -17,7 +17,7 @@
|
||||
@isInvalid={{@model.errors.name}}
|
||||
@type='text'
|
||||
name='name'
|
||||
disabled={{form.disabled}}
|
||||
readonly={{form.disabled}}
|
||||
{{on 'input' (set-from-event @model 'name')}}
|
||||
as |F|
|
||||
>
|
||||
@@ -37,7 +37,7 @@
|
||||
@value={{@model.description}}
|
||||
@isInvalid={{@model.errors.description}}
|
||||
name='description'
|
||||
disabled={{form.disabled}}
|
||||
readonly={{form.disabled}}
|
||||
as |F|
|
||||
>
|
||||
<F.Label>{{t 'form.description.label'}}</F.Label>
|
||||
|
||||
Reference in new issue
Block a user