Skip to content
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

Disable Spellcheck on Location Field #801

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/location-field/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1044,6 +1044,7 @@ const LocationField = ({
className={formControlClassname}
onChange={onTextInputChange}
onClick={handleTextInputClick}
spellCheck={false}
onKeyDown={onKeyDown}
placeholder={placeholder}
ref={inputRef}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ exports[`LocationField/Desktop Context AutoFocusWithMultipleControls smoke-test
aria-label="Select from location"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="Select from location"
role="combobox"
value
Expand Down Expand Up @@ -92,6 +93,7 @@ exports[`LocationField/Desktop Context Blank smoke-test 1`] = `
aria-label="Select from location"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="Select from location"
role="combobox"
value
Expand Down Expand Up @@ -143,6 +145,7 @@ exports[`LocationField/Desktop Context GeocoderNoResults smoke-test 1`] = `
aria-label="Select from location"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="Select from location"
role="combobox"
value
Expand Down Expand Up @@ -194,6 +197,7 @@ exports[`LocationField/Desktop Context GeocoderUnreachable smoke-test 1`] = `
aria-label="Select from location"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="Select from location"
role="combobox"
value
Expand Down Expand Up @@ -245,6 +249,7 @@ exports[`LocationField/Desktop Context HereGeocoder smoke-test 1`] = `
aria-label="Select from location"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="Select from location"
role="combobox"
value
Expand Down Expand Up @@ -296,6 +301,7 @@ exports[`LocationField/Desktop Context LocationUnavailable smoke-test 1`] = `
aria-label="Select from location"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="Select from location"
role="combobox"
value
Expand Down Expand Up @@ -354,6 +360,7 @@ exports[`LocationField/Desktop Context NoAutoFocusWithMultipleControls smoke-tes
aria-label="Select from location"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="Select from location"
role="combobox"
value
Expand Down Expand Up @@ -406,6 +413,7 @@ exports[`LocationField/Desktop Context RequiredAndInvalidState smoke-test 1`] =
aria-label="Select from location"
aria-required="true"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="Select from location"
role="combobox"
value
Expand Down Expand Up @@ -457,6 +465,7 @@ exports[`LocationField/Desktop Context SelectedLocation smoke-test 1`] = `
aria-label="to"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq to-form-control"
spellcheck="false"
placeholder="to"
role="combobox"
value="123 Main St"
Expand Down Expand Up @@ -526,6 +535,7 @@ exports[`LocationField/Desktop Context SelectedLocationCustomClear smoke-test 1`
aria-label="to"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq to-form-control"
spellcheck="false"
placeholder="to"
role="combobox"
value="123 Main St"
Expand Down Expand Up @@ -595,6 +605,7 @@ exports[`LocationField/Desktop Context SlowGeocoder smoke-test 1`] = `
aria-label="Select from location"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="Select from location"
role="combobox"
value
Expand Down Expand Up @@ -646,6 +657,7 @@ exports[`LocationField/Desktop Context WithBadApiKeyHandlesBadAutocomplete smoke
aria-label="Select from location"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="Select from location"
role="combobox"
value
Expand Down Expand Up @@ -697,6 +709,7 @@ exports[`LocationField/Desktop Context WithCustomResultColorsAndIcons smoke-test
aria-label="Select from location"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="Select from location"
role="combobox"
value
Expand Down Expand Up @@ -748,6 +761,7 @@ exports[`LocationField/Desktop Context WithCustomResultsOrder smoke-test 1`] = `
aria-label="Select from location"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="Select from location"
role="combobox"
value
Expand Down Expand Up @@ -1078,6 +1092,7 @@ exports[`LocationField/Desktop Context WithPrefilledSearch smoke-test 1`] = `
aria-label="Select from location"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="Select from location"
role="combobox"
value
Expand Down Expand Up @@ -1408,6 +1423,7 @@ exports[`LocationField/Desktop Context WithUserSettings smoke-test 1`] = `
aria-label="Select from location"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="Select from location"
role="combobox"
value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ exports[`LocationField/Mobile Context Blank smoke-test 1`] = `
aria-label="from"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="from"
role="combobox"
value
Expand Down Expand Up @@ -113,6 +114,7 @@ exports[`LocationField/Mobile Context GeocoderNoResults smoke-test 1`] = `
aria-label="from"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="from"
role="combobox"
value
Expand Down Expand Up @@ -193,6 +195,7 @@ exports[`LocationField/Mobile Context GeocoderUnreachable smoke-test 1`] = `
aria-label="from"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="from"
role="combobox"
value
Expand Down Expand Up @@ -273,6 +276,7 @@ exports[`LocationField/Mobile Context LocationUnavailable smoke-test 1`] = `
aria-label="from"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="from"
role="combobox"
value
Expand Down Expand Up @@ -355,6 +359,7 @@ exports[`LocationField/Mobile Context SelectedLocation smoke-test 1`] = `
aria-label="to"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq to-form-control"
spellcheck="false"
placeholder="to"
role="combobox"
value="123 Main St"
Expand Down Expand Up @@ -453,6 +458,7 @@ exports[`LocationField/Mobile Context SelectedLocationCustomClear smoke-test 1`]
aria-label="to"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq to-form-control"
spellcheck="false"
placeholder="to"
role="combobox"
value="123 Main St"
Expand Down Expand Up @@ -551,6 +557,7 @@ exports[`LocationField/Mobile Context SlowGeocoder smoke-test 1`] = `
aria-label="from"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="from"
role="combobox"
value
Expand Down Expand Up @@ -631,6 +638,7 @@ exports[`LocationField/Mobile Context Styled smoke-test 1`] = `
aria-label="from"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq from-form-control"
spellcheck="false"
placeholder="from"
role="combobox"
value
Expand Down Expand Up @@ -711,6 +719,7 @@ exports[`LocationField/Mobile Context WithCustomIcons smoke-test 1`] = `
aria-label="to"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq to-form-control"
spellcheck="false"
placeholder="to"
role="combobox"
value
Expand Down Expand Up @@ -1023,6 +1032,7 @@ exports[`LocationField/Mobile Context WithNearbyStops smoke-test 1`] = `
aria-label="to"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq to-form-control"
spellcheck="false"
placeholder="to"
role="combobox"
value
Expand Down Expand Up @@ -1184,6 +1194,7 @@ exports[`LocationField/Mobile Context WithSessionSearches smoke-test 1`] = `
aria-label="to"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq to-form-control"
spellcheck="false"
placeholder="to"
role="combobox"
value
Expand Down Expand Up @@ -1296,6 +1307,7 @@ exports[`LocationField/Mobile Context WithUserSettings smoke-test 1`] = `
aria-label="to"
aria-required="false"
class="styled__Input-sc-xahsq2-6 naPtq to-form-control"
spellcheck="false"
placeholder="to"
role="combobox"
value
Expand Down
Loading