Migrate change-password form to HDS input fields. (#1460)

* refactor: 💡 update scope form to use HDS input and textarea

* chore: 🤖 tweak "optional" label text color in dark mode

* fix: 🐛 add HDS field margins and fix form tests

* fix: 🐛 fix acceptance tests and add TextInput event handlers

* refactor: 💡 migrate change-password form to HDS inputs

* fix: 🐛 use input event and fix set-from-event to handle empty

* chore: 🤖 reverse order of isRequired and isOptional

* fix: 🐛 use @type as required by HDS

* chore: 🤖 fix linting
This commit is contained in:
Randall Morey authored and GitHub committed 2022-11-15 09:34:25 -08:00
1 parent b08d3affe4
commit aae85c44d2
2 files changed
+26 -36

No files matched your search

+2 -2
View File
@@ -7,8 +7,8 @@
>
<Hds::Form::TextInput::Field
@isOptional={{true}}
@isRequired={{false}}
@isOptional={{true}}
@value={{@model.name}}
@isInvalid={{@model.errors.name}}
@type='text'
@@ -29,8 +29,8 @@
</Hds::Form::TextInput::Field>
<Hds::Form::Textarea::Field
@isOptional={{true}}
@isRequired={{false}}
@isOptional={{true}}
@value={{@model.description}}
@isInvalid={{@model.errors.description}}
name='description'