TextInputWithTokens
does not render leading/trailingVisual
#1875
Labels
TextInputWithTokens
does not render leading/trailingVisual
#1875
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 theleadingVisual
andtrailingVisual
props, nothing happens.To Reproduce
Steps to reproduce the behavior:
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:
The text was updated successfully, but these errors were encountered: