Autocomplete input class #4143
Unanswered
NeoCoderMatrix86
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I would like to use the Autocomplete component inside a project. Since currently the user input is a TextEdit, the replacement by Autocomplete seems pretty simple, but now I'm facing a problem: I change the TextEdit class if the user input is empty to "alert-warning". Since the Autocomplete component is rendered as div, with a input below, the class changes are applied to the div and not to the input. Is there a possibility to define the TextEdit as Renderfragment?
Beta Was this translation helpful? Give feedback.
All reactions