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

Resetting the QuickButtons #188

Closed
SirBenedick opened this issue May 14, 2020 · 3 comments
Closed

Resetting the QuickButtons #188

SirBenedick opened this issue May 14, 2020 · 3 comments
Labels

Comments

@SirBenedick
Copy link

Hey thanks for maintaining this repo, it works like a charm.
There is one thing I am currently struggling with.

It is possible to set quick reply buttons with the setQuickButtons().
But it seems to be impossible to remove the existing QuickButtons.
setQuickButtons() seems to append the existing array and not replace it. Therefore the user is always displayed all the previous QuickButtons.

Is there a way to reset the QuickButtons? And if not could this be added?

I think it is quite useful to have QuickButtons assist depending on a certain message.
If this is not possible or it shouldn't be implement I will switch to renderCustomComponent() and "rebuild" this feature.

Ben

@SirBenedick SirBenedick changed the title Reseting the QuickButtons Resetting the QuickButtons May 14, 2020
@mcallegari10
Copy link
Contributor

Hi! Thank you for your kind words. Regarding the issue with the quick buttons, I've created #189 that should fix the lacking of the reset functionality. Should be published in the next version 😄. Sorry for the inconvenience!

@SirBenedick
Copy link
Author

Thanks Martin 🙏
Any ETA on the next version?

@mcallegari10
Copy link
Contributor

I'll publish it tomorrow 😄

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

No branches or pull requests

2 participants