Skip to content

[BUG] - V3 Migration guide recommends using a button within a button for adding a clear functionality to select. #6405

@shidel-dev

Description

@shidel-dev

HeroUI Version

3.0

Describe the bug

The migration guide for select says isClearable needs to be manually implemented. It then shows an example (not working for me at all) using a Clear button. The select trigger is already a button however. Is this a functional example, or is it poisoning the AI agent with a false information.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

Try adding a clear button to a select.

Expected behavior

I have a migration path to create clearable selects. It should not through nesting a button within another button.

Screenshots or Videos

No response

Operating System Version

macOS

Browser

Chrome

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions