Add event highlights to date picker #792
patrickwasp
started this conversation in
Ideas / Feature Requests
Replies: 1 comment
-
You can set events using Quasar props: ui.date(value='2023-04-01').props('''events="['2023/04/05', '2023/04/06', '2023/04/09', '2023/04/23']"''') Or a bit simpler using an f-string and less complicated quotes: events = ['2023/04/05', '2023/04/06', '2023/04/09', '2023/04/23']
ui.date(value='2023-04-01').props(f'events="{events}"') |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not sure if this is already an option, but I couldn't find it in the documentation.
Quasar has the option of adding events to the date picker. Can this be added to NiceGUI?
https://quasar.dev/vue-components/date#highlighting-events
Beta Was this translation helpful? Give feedback.
All reactions