Skip to content

clearButton not shown with defaultInputValue #853

Closed
@maon-fp

Description

@maon-fp

Version

6.3.2

Steps to reproduce

    <Typeahead
      options={['a', 'b', 'c']}
      defaultInputValue='a'
      clearButton
    />

Expected Behavior

The clear button should be displayed if there a default input value given.

Actual Behavior

No clear button is shown initially if defaultInputValue is given. After a selection the clear button shows up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions