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

Adds possibility to render only date picker without dropdown and input #5068

Open
matuzalemsteles opened this issue Aug 31, 2022 · 1 comment
Labels
comp: clay-components Issues related to Clay components. (e.g ClayCard, ClayLabel...) type: feature request Issues that are open to adding new features

Comments

@matuzalemsteles
Copy link
Member

See PR #5058 for context. We don't yet have a product that wants this but there is a use case for Calendar in DXP but it's still done in YUI but possibly in the future it could be rewritten in React. But this is also a welcome feature for Date Picker, historically Date Picker along with Color Picker was built before we decided to design Clay's offering in React so the way it was built was based on configuring APIs which is not very good for reactive UI and in React that things are composition oriented.

So the idea of this issue here is to propose a new way more compatible with the current implementation and oriented to composition that allows to use only the date picker without the date picker inside the drop-down menu and input and allows changing between these options without losing the existing functionality and logics of how Date Picker handles date manipulation.

See the comment that shows a premature idea of how the evolution of the Date Picker could be, #5058 (comment)

@matuzalemsteles matuzalemsteles added type: feature request Issues that are open to adding new features comp: clay-components Issues related to Clay components. (e.g ClayCard, ClayLabel...) labels Aug 31, 2022
@matuzalemsteles
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: clay-components Issues related to Clay components. (e.g ClayCard, ClayLabel...) type: feature request Issues that are open to adding new features
Projects
None yet
Development

No branches or pull requests

1 participant