Including HTML within Crayons Hint-Text

I would like to include a HTML link within the HintText for an input field. For example cross reference to the Freshdesk webpage documentation describing where to find the API key.

It appears if I include HTML within the text string the “<” are converted to “&lt;” code which is normal safeguarding practice.

If I try to include a separate block, it is impossible to make my “pseudo” text have the same look and feel.

Am I missing something?

[I am converting an existing “partly” completed module to use crayons version 3.]

Hi,

Please use hint-text slot like below.

<fw-input
  label="Verification Code"
  placeholder="Enter the verification code sent to the registered email address"
  state="normal"
  clear-input
>
<div slot="hint-text">use the verification code sent to your email address</div>
</fw-input>
2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.