Skip to content

Pass hint class to ValidatedFieldComponent as SimpleForm option#8232

Merged
aduth merged 1 commit intomainfrom
aduth-validated-field-hint-html
Apr 24, 2023
Merged

Pass hint class to ValidatedFieldComponent as SimpleForm option#8232
aduth merged 1 commit intomainfrom
aduth-validated-field-hint-html

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Apr 18, 2023

🛠 Summary of changes

Removes the explicit hint_class option of ValidatedFieldComponent in favor of updating call sites to pass through SimpleForm options, already supported by the component.

See: https://github.com/18F/identity-idp/pull/8088/files#r1169257696

📜 Testing Plan

Repeat "Testing Plan" steps outlined at #8088

rspec spec/views/idv/address/new.html.erb_spec.rb spec/features/idv/doc_auth/address_step_spec.rb

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aduth aduth merged commit 58df3a9 into main Apr 24, 2023
@aduth aduth deleted the aduth-validated-field-hint-html branch April 24, 2023 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants