Skip to content

Add glob prop support to Autocomplete v1 (align with v2) #597

@jiwlee97

Description

@jiwlee97

Background

The glob prop was recently added to the Autocomplete v2 component to support glob-based matching (e.g. helm-*, *.sock patterns).

However, the same functionality is not yet supported in Autocomplete v1. This causes inconsistency between the two components, especially in pages or features that still rely on v1.

Tasks

  • Add glob?: boolean prop to Autocomplete v1
  • Implement glob-based filtering logic, consistent with Autocomplete v2
  • Ensure backward compatibility (i.e., glob disabled by default)
  • Add/update storybook or visual tests if applicable

Acceptance Criteria

  • Autocomplete v1 correctly filters items based on glob patterns when glob prop is enabled
  • Functionality matches behavior in Autocomplete v2
  • No regressions in existing Autocomplete v1 usage

Related

Metadata

Metadata

Assignees

No one assigned

    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