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

Multi select date picker example #4081

Open
origami-z opened this issue Sep 11, 2024 · 2 comments
Open

Multi select date picker example #4081

origami-z opened this issue Sep 11, 2024 · 2 comments
Labels
community For issues that have been raised by folks outside the core Salt team component: calendar component: date picker type: enhancement 💡 New feature or request

Comments

@origami-z
Copy link
Contributor

origami-z commented Sep 11, 2024

Calendar component offers multi selection, what's the best approach / recommendation to implement a date picker with multi selection?
Maybe a custom dropdown/combo box with calendar? Does Salt offer all necessary pieces to implement it (e.g. popper / floating component)?

@mark-tate
Copy link
Contributor

@bhoppers2008 this has been asked for by our stakeholders

@origami-z origami-z added the type: enhancement 💡 New feature or request label Sep 27, 2024
@origami-z
Copy link
Contributor Author

I briefly tried to play around this, hit some blockers

  • Trying to create a custom dropdown based on DatePickerSingleInput, but useDatePickerOverlay is not exported from lab package
    • Then thinking revert back to use existing one, but startAdornment not supported in DateInput (mentioned here)
  • For the panel, following CustomDatePickerPanel example, but then found useDatePickerContext only supports 2 selectionVariant not all from Calendar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community For issues that have been raised by folks outside the core Salt team component: calendar component: date picker type: enhancement 💡 New feature or request
Projects
Development

No branches or pull requests

2 participants