whatsapp-button
whatsapp-button copied to clipboard
Label is not updating
If I go to the index.html file and change the label (or remove it), it keeps displaying the default label. How do I update the label?
@paodb can you show me the exact code you're trying please? This package needs a full update to be honest.
HI, @smashah. I did a checkout of the repo and then went to the index.html file (in the demo folder) There I switch the whatsapp-button tag to this:
<whatsapp-button phone="7712345678" dialog dialcode="44" text="hey there lets chat!" label="Contact me" responsive> </whatsapp-button>
I changed the label to:
label = "Contact me"
Then I did npm run build & npm start and the button displays but the label keeps showing "Join Group!". It doesn't seem to be updated.
Is there some other way to set the label?