fix: 🐛 change disabled to readonly for form inputs (#2618)

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15666
This commit is contained in:
Cameron Perera authored and GitHub committed 2024-12-17 13:31:47 -06:00
1 parent af8655ec45
commit fce97fd57a
1 file changed
+2 -2
+2 -2
View File
@@ -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>