-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
Flux version
v2.6.0
Livewire version
v3.6.4
Tailwind version
v4.1.11
Browser and Operating System
Safari
What is the problem?
Currently, when a flux:date-picker has the disabled attribute set to true, the clear button (from the clearable attribute) remains functional. This creates inconsistent UX where users can clear a disabled field but cannot edit it.
Code snippets to replicate the problem
<flux:date-picker
clearable
:disabled="true"
...
/>The date picker input is disabled (grayed out, not editable), but the clear button is still clickable and allows the user to modify the dates.
Screenshots/ screen recordings of the problem
How do you expect it to work?
When disabled="true", the clear button should also be disabled or hidden automatically. Users shouldn't be able to clear a field they cannot edit.
Please confirm (incomplete submissions will not be addressed)
- I have provided easy and step-by-step instructions to reproduce the bug.
- I have provided code samples as text and NOT images.
- I understand my bug report will be closed if I haven't met the criteria above.
Metadata
Metadata
Assignees
Labels
No labels