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

TimePicker can be used as a controlled input (support value and valueLink props) #2027

Closed
wants to merge 5 commits into from
Closed

TimePicker can be used as a controlled input (support value and valueLink props) #2027

wants to merge 5 commits into from

Conversation

camfletch
Copy link
Contributor

This pull request is to add value/valueLink support to the TimePicker in an identical way to how the DatePicker handles things. Addresses issue #1710.

@oliviertassinari
Copy link
Member

valueLink is going to be deprecated by facebook. I think that we shouldn't implement it.

@oliviertassinari oliviertassinari added PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI and removed Review: review-needed labels Nov 24, 2015
rscnt added a commit to rscnt/material-ui that referenced this pull request Jan 29, 2016
If a TimePicker instance is already mounted and a new defaultTime is passed to it, the `time` state value doesn't update.

There was already a pull request aiming to fix this and other issues for this component at mui#2027, but it has been waiting for review since Nov 24, 2015.
@newoga
Copy link
Contributor

newoga commented Feb 26, 2016

@CameronFletcher92 I'm going to close this PR because we are moving towards removing valueLink for 0.15.0. Thanks so much for your contribution anyhow!

@newoga newoga closed this Feb 26, 2016
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Nov 10, 2020
* Update `ref` to `inputRef` on the broken demo

Fixes Issue mui#2027

* yarn prettier

Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants