Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label is not updating #595

Open
paodb opened this issue Jul 6, 2022 · 2 comments
Open

Label is not updating #595

paodb opened this issue Jul 6, 2022 · 2 comments

Comments

@paodb
Copy link

paodb commented Jul 6, 2022

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?

@smashah
Copy link
Member

smashah commented Jul 7, 2022

@paodb can you show me the exact code you're trying please? This package needs a full update to be honest.

@paodb
Copy link
Author

paodb commented Jul 7, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants