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

Possibility to "hide" hours #2

Open
pinticas opened this issue Jan 9, 2021 · 2 comments
Open

Possibility to "hide" hours #2

pinticas opened this issue Jan 9, 2021 · 2 comments

Comments

@pinticas
Copy link

pinticas commented Jan 9, 2021

It is a very nice time picker but it lacks the possibility to hide the hours section to allow the user to only set minutes and seconds.

@DeweyReed
Copy link
Owner

It won't be easy because the library is designed to take in 6 digits. To hide hours, I have to refactor the whole codebase.

In one of my apps, I show a snack bar if the input is 0 and prevent users from moving on. You could try a similar solution.

@pinticas
Copy link
Author

Ok, I thought it was as easy as hiding 2 views and blocking digits to 4 :)

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