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

Explicitly setting the default value null to open prop doesn't work as expected #825

Open
MaheshkumarSundaram opened this issue Mar 28, 2022 · 0 comments

Comments

@MaheshkumarSundaram
Copy link

MaheshkumarSundaram commented Mar 28, 2022

Steps to Reproduce

Setting value to open prop based on a condition,

<Datetime open={<condition> ? false : null} />

Expected Results

When I set null explicitly to open prop, it sound retain its default behaviour.

Actual Results

When I set null explicitly to open prop, it behaves as if I set false

Other Information

An ugly workaround can be found here.

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