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

year-picker with allowed-dates prop does not correctly style the disabled value #1047

Open
nondotxyz opened this issue Nov 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@nondotxyz
Copy link

nondotxyz commented Nov 19, 2024

Describe the bug
The allowed-dates property works fine as it does not let me select any disallowed dates but the styling within year-picker is still allowing it to be picked before being selected, and without any attributes that indicates which values are disabled, this cannot be easily rectify with simple CSS.

To Reproduce
Put both the year-picker props with allowed-dates.

<Datepicker v-model="date" year-picker :allowed-dates="['2024']" />

This can be easily replicated within the playground and any other machine without any further adjustment.

Expected behavior
The datepicker correctly stylized disabled values and does not let me pick them for selection.

Desktop & mobile (please complete the following information):

  • Browser [Firefox]
  • Library version [^8.8.1]
@nondotxyz nondotxyz added awaiting triage The issue is not reviewed by the maintainers bug Something isn't working labels Nov 19, 2024
@Jasenkoo Jasenkoo removed the awaiting triage The issue is not reviewed by the maintainers label Dec 25, 2024
Jasenkoo added a commit that referenced this issue Dec 28, 2024
Jasenkoo added a commit that referenced this issue Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants