Closed
Description
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:
- Render a
TextInputWithTokens
component with theleadingVisual
ortrailingVisual
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: