You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i have problem with placeholder in flatpickr component. I used weekSelectPlugin like below:
const config = {
defaultDate: store.getSelectedDate(),
position: "auto",
plugins: [new weekSelectPlugin({})],
locale: {
...Polish,
},
}
Is there any way to display placeholder in pattern like below?
firstDayOfWeek - lastDayOfWeek
e.g. 03.07.2023 - 09.07.2023
I tried to do it in config, but to no avail.
Do not pay attention about polish locale ;)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, i have problem with placeholder in flatpickr component. I used weekSelectPlugin like below:
const config = {
defaultDate: store.getSelectedDate(),
position: "auto",
plugins: [new weekSelectPlugin({})],
locale: {
...Polish,
},
}
Is there any way to display placeholder in pattern like below?
firstDayOfWeek - lastDayOfWeek
e.g. 03.07.2023 - 09.07.2023
I tried to do it in config, but to no avail.
Do not pay attention about polish locale ;)
Thanks for help :)
Beta Was this translation helpful? Give feedback.
All reactions