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

[BUG] date input #10

Open
stgov opened this issue Aug 3, 2023 · 0 comments
Open

[BUG] date input #10

stgov opened this issue Aug 3, 2023 · 0 comments

Comments

@stgov
Copy link

stgov commented Aug 3, 2023

image
hi, the streamlit date_input has an arg for the date format and you can set the date to None as defualt value, could you add it please?

nacimiento = survey.dateinput(
            ':red[*]Fecha de nacimiento',
            key='nacimiento',
            value=None, # it does not work
            min_value=datetime.now() - timedelta(days=365 * 100),
            max_value=datetime.now(),
            format='DD/MM/YYYY', # it does not work
        )
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

1 participant