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

Auto Complete #6292

Closed
briefy opened this issue Mar 7, 2017 · 3 comments
Closed

Auto Complete #6292

briefy opened this issue Mar 7, 2017 · 3 comments
Labels
bug 🐛 Something doesn't work component: autocomplete This is the name of the generic UI component, not the React module!

Comments

@briefy
Copy link

briefy commented Mar 7, 2017

The docs abut Auto Complete says:

Other properties (not documented) are applied to the root element.

however, the code is like this :

 <div style={prepareStyles(Object.assign(styles.root, style))} >
        <TextField
          {...other}
          ref="searchTextField"
          autoComplete="off"
          value={searchText}
          onChange={this.handleChange}
          onBlur={this.handleBlur}
          onFocus={this.handleFocus}
          onKeyDown={this.handleKeyDown}
          floatingLabelText={floatingLabelText}
          hintText={hintText}
          fullWidth={fullWidth}
          multiLine={false}
          errorStyle={errorStyle}
          style={textFieldStyle}
        />

{...other} has been put on the TextField,not the root element

@stunaz
Copy link
Contributor

stunaz commented Mar 7, 2017

next branch, right?
Interesting, but how does this affect you? What is your issue?

@briefy
Copy link
Author

briefy commented Mar 7, 2017

the master branch,
misleading if do some decoration based on the doc,
actually mostly wanna control the textfield, such as the underline

@oliviertassinari
Copy link
Member

Closed by #4783

@oliviertassinari oliviertassinari added the component: autocomplete This is the name of the generic UI component, not the React module! label Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: autocomplete This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

3 participants