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

Help enabling autoComplete #3662

Closed
Jtaks opened this issue Jul 15, 2019 · 2 comments
Closed

Help enabling autoComplete #3662

Jtaks opened this issue Jul 15, 2019 · 2 comments

Comments

@Jtaks
Copy link

Jtaks commented Jul 15, 2019

Environment

  • Package version(s):
    • "@blueprintjs/core": "^3.14.1"
    • "@blueprintjs/icons": "^3.6.0"
  • Browser and OS versions:
    • Firefox 68.0 (64-bit)
    • Ubuntu Budgie 18.04.2 LTS (Bionic Beaver)

Question

Is there any way to enable the autoComplete attribute on InputGroups? I can't seem to get it to work in my react project.

This would be where previously entered form values are made available to the user. Very useful for addresses during a signup process.

#593 and #118 mention it but it is unclear to me which component implements it.

Example of feature in question:

image

My jsx snippet in question:

<form>
    <FormGroup label='Address 1'>
        <InputGroup 
            autoComplete='on'
            placeholder='123 Sunset blvd sw'
            value={addressLine1}
            onChange={(event) => setAddressLine1(event.currentTarget.value)} />
    </FormGroup>
    // ...
</form>

Let me know if more information is needed.

@adidahiya
Copy link
Contributor

Yes, that's the right syntax for using this attribute with InputGroup. Maybe one of these is the issue?

image

@Jtaks
Copy link
Author

Jtaks commented Jul 24, 2019

@adidahiya Wow I totally missed that 🙈. Thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants