0

I want to add tooltip to angular formly dropdown element, is there a way to solve this?

Tool tip should contain label - value of the dropdown elements. Is there any tooltip property which we can use under prop of formly field.

1 Answer 1

0

You can use the title property to achieve this by putting it in the option tag:

<select>
  <option title="Lorem" value="Lorem">Lorem</value>
  <option value="Ipsum">Ipsum</value>
</select>

For a more "stylish" way to achieve this, you can have a look at the MatTooltip

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.