A
A
Anatoly Kuchin2020-06-29 08:30:11
React
Anatoly Kuchin, 2020-06-29 08:30:11

How to make that there was a dynamic link with a call?

Hello.
How to make that there was a dynamic link with a call?
Failed: Cannot read {clinic.PHONE_REGISTRY} value. <a href="tel:${clinic.PHONE_REGISTRY}"></a>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yustas Alexu, 2020-06-29
@devil40rus

You probably meant this: Template strings only work with strings surrounded by `.
<a href={`tel:${clinic.PHONE_REGISTRY}`}></a>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question