Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextInputWithTokens does not render leading/trailingVisual #1875

Closed
iansan5653 opened this issue Feb 17, 2022 · 1 comment · Fixed by #1886
Closed

TextInputWithTokens does not render leading/trailingVisual #1875

iansan5653 opened this issue Feb 17, 2022 · 1 comment · Fixed by #1886
Labels

Comments

@iansan5653
Copy link
Contributor

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

@colebemis
Copy link
Contributor

Added to our project board. Thanks, @iansan5653!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants