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

Observable TimePicker state without onTimeConfirm press #1931

Open
cjrcodes opened this issue Jan 3, 2024 · 2 comments
Open

Observable TimePicker state without onTimeConfirm press #1931

cjrcodes opened this issue Jan 3, 2024 · 2 comments

Comments

@cjrcodes
Copy link

cjrcodes commented Jan 3, 2024

Add the ability to get the current value of TimePicker without having to click the confirm button and having to using onTimeConfirm to get the new value

Example use case: Using TimePicker as a timer only using the hours and minutes, I want to dynamically update a projected time of when the alarm of the timer will sound off, this will be reflected via a Text composable

Time: 12:00 PM
TimePicker: 00:05
Projected time: 12:05 PM

User switches the value on the TimePicker to 01:32, the projected time now reflects this dynamically as the TimePicker state is able to be observed without onTimeConfirm

Time: 12:00 PM
TimePicker: 01:32
Projected time: 01:32 PM

User clicks confirm on the TimePicker and the timer starts

@cjrcodes cjrcodes changed the title Observable TimePicker state without onTimeConfirm press Observable TimePicker state without onTimeConfirm press #enhancement Jan 3, 2024
@cjrcodes cjrcodes changed the title Observable TimePicker state without onTimeConfirm press #enhancement Observable TimePicker state without onTimeConfirm press Jan 3, 2024
@yschimke
Copy link
Collaborator

yschimke commented Jan 5, 2024

@yschimke
Copy link
Collaborator

yschimke commented Jan 5, 2024

cc @rajat4064g @BowerSteve

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

No branches or pull requests

2 participants