Skip to content

lg-5157 address inline validation#5511

Merged
mdiarra3 merged 35 commits intomainfrom
md-lg-5157-address-inline-validation
Oct 22, 2021
Merged

lg-5157 address inline validation#5511
mdiarra3 merged 35 commits intomainfrom
md-lg-5157-address-inline-validation

Conversation

@mdiarra3
Copy link
Contributor

Works off of #5468. This PR updates the address page for IAL2 flow to support inline-validation instead of tooltips. Needs prior PR merged first.

@mdiarra3 mdiarra3 requested review from aduth and jmdembe October 15, 2021 15:20
@zachmargolis
Copy link
Contributor

zachmargolis commented Oct 15, 2021

Is the goal to merge this separately? Should we change the base of this PR to the other branch so we can see just the incremental diff? https://github.com/18F/identity-idp/compare/md-lg-5040-refactor-text-field..md-lg-5157-address-inline-validation

@mdiarra3 mdiarra3 changed the base branch from main to md-lg-5040-refactor-text-field October 18, 2021 14:08
@mdiarra3 mdiarra3 force-pushed the md-lg-5157-address-inline-validation branch from 13c0a1e to 9900074 Compare October 18, 2021 14:09
Base automatically changed from md-lg-5040-refactor-text-field to main October 18, 2021 17:00
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

Comment on lines +8 to +9
<%= f.input :address1, label: t('idv.form.address1'), wrapper: false,
required: true, input_html: { aria: { invalid: false } }, maxlength: 255 %>
Copy link
Contributor

Choose a reason for hiding this comment

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

supernit, the spacing here is a little off:

Suggested change
<%= f.input :address1, label: t('idv.form.address1'), wrapper: false,
required: true, input_html: { aria: { invalid: false } }, maxlength: 255 %>
<%= f.input :address1, label: t('idv.form.address1'), wrapper: false,
required: true, input_html: { aria: { invalid: false } }, maxlength: 255 %>

@mdiarra3 mdiarra3 merged commit 28634f3 into main Oct 22, 2021
@mdiarra3 mdiarra3 deleted the md-lg-5157-address-inline-validation branch October 22, 2021 14:46
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.

4 participants