-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(EMI-2159): Auction registration address autocomplete #14846
base: main
Are you sure you want to change the base?
Conversation
setHasAutocompletedAddress(false) | ||
} | ||
handleChange(...args) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple things with this:
- if we have a tracking hook that co-locates all tracking, then we shouldn't be defining local functions that also handle tracking; we should figure out how to make it ideal, such as adding a second callback argument to
editedAutocompletedAddress
and then invoking that - Or (and better) renaming the local function:
handleAutocompleteChange
and then invoking the tracking function from that - Also, no need to pass in
handleChange
as an argument; its already in scope up above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, mostly agree here. I'll see if i can improve it a little more.
@@ -80,7 +127,7 @@ export const AddressForm = () => { | |||
/> | |||
</Column> | |||
|
|||
<Column span={6}> | |||
<Column span={12}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Defaults to 12
The type of this PR is: FEAT
This PR solves EMI-2159
Description
This PR adds autocomplete for US addresses on auction registration and makes minor changes to the registration form layout to follow our latest specs for address forms.