Skip to content

TextInputWithTokens does not render leading/trailingVisual #1875

Description

@iansan5653

Describe the bug

The documentation for TextInputWithTokens says it "supports all of the features of a TextInput component", however when I try to render leading or trailing visuals with the leadingVisual and trailingVisual props, nothing happens.

To Reproduce

Steps to reproduce the behavior:

  1. Render a TextInputWithTokens component with the leadingVisual or trailingVisual props. For example: <TextInputWithTokens tokens={[]} leadingVisual={CalendarIcon} />

Expected behavior

I expect a the visuals to render, pushing the tokens aside to do so.

Screenshots

I'd like to render a calendar icon in this multiple-date input:
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions