Hint with HTML

1 Answer 93 Views
Labels 
Jan
Top achievements
Rank 1
Jan asked on 03 Jun 2021, 08:56 AM | edited on 03 Jun 2021, 08:57 AM

Hello,

it is possible somehow pass HTML into Hint component ?

Thank you

<Field name={"logo"}
label={"Bound with logo"}
hint={"Logo only displays on <strong>Premium</strong> jobs"}
component={FormDropDownList} />

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 03 Jun 2021, 09:20 AM

Hello, Jan,

Yes, it could be set as string or HTML:

https://stackblitz.com/edit/react-as28wj?file=app/main.jsx

This is the syntax:

            <Field
              id={'bdate'}
              name={'bdate'}
              label={'Birth Date'}
              hint={<span><strong>test</strong></span>}
I hope this is helpful.

Regards,
Stefan
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Labels 
Asked by
Jan
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or