-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[select] update inputProps documentation #3037
Comments
@giladgray Thank you for your answer. In that case the documentation needs to be updated. |
ah fair enough. |
Another issue is that In queryList.tsx:
I created the component like this: <Suggest
items={Films.TOP_100_FILMS}
itemRenderer={renderFilm}
inputValueRenderer={film => film.title}
onItemSelect={this.handleValueChange}
query={query}
onQueryChange={this.handleChange}
>
<Button text={buttonText} rightIcon="caret-down" />
</Suggest> |
@tomaszbalsys please do not conflate this issue with others. file a separate issue for separate concerns. edit: but it looks like you want #2983 |
@giladgray Is this a bug? Are you ready to fix it? |
@EchoZW i'm certainly ready for it to be fixed! |
@giladgray Excuse me, when are you going to fix this problem? |
Prop
inputProps
in componentsSelect
andSuggest
doesn't work.Environment
Steps to reproduce
Actual behavior
Method
this.handleChange
gets never executed.Expected behavior
Providing prop
inputProps
should make component controlled.Possible solution
In
suggest.tsx
in methodrenderQueryList
:{...inputProps}
should be moved to the end, so that it overridesvalue
andonChange
props.The text was updated successfully, but these errors were encountered: