Skip to content

Commit

Permalink
chore: elaborate on disabled state in conjunction with custom triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
tho-dan committed Jan 13, 2025
1 parent 222c2dd commit 3c27fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/components/dropdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ import { FwbDropdown } from 'flowbite-vue'
```

## Dropdown - Disabled
Please note that this has to be manually implemented when using a custom trigger (see below)
Please note that when using a custom trigger (via the trigger slot), you'll need to also implement the disabled state manually by passing the disabled prop to your trigger element. You should still use the disabled prop here to ensure correct handling of the disabled state in the dropdown click handler.

<fwb-dropdown-example-disabled />
```vue
Expand Down

0 comments on commit 3c27fc7

Please sign in to comment.