TextField FloatingText as Mandatory
Hello,
Anyone can let me know how to define a Textfield as mandatory? such as I want to display '*' indicator in red colour along with FloatingLabelText.
However, FloatingLabelText should be in black colour and only '*' should be in red colour.
Thanks, Romil
Hey, @shahromil88, have you tried to wrapping it in a <span> with a style applied to the span? The component might expect a string as props, so not sure if that would work.
Hi @m2mathew , Tried with putting *, but it is treating as string instead of html.
It was my mistake, It was passing as string instead of inline html. Issue is fixed.