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

New Feature request #63

Open
ahmeddevelops opened this issue Oct 16, 2024 · 1 comment
Open

New Feature request #63

ahmeddevelops opened this issue Oct 16, 2024 · 1 comment

Comments

@ahmeddevelops
Copy link

Can we add a feature such that when the user clicks on a button from the list of options, it should emit an event notifying us that the user indeed selected an option and not typed a text. This can help determine the flow to choose in the backend.

Example

  1. The user types a text - We determine it was a plain text, a general query
  2. The user chooses a pre-defined option - We determine that it wasn't a plain text, render sub-options or perform additional operations.
@juzser
Copy link
Owner

juzser commented Oct 17, 2024

That's a good idea. But I doubt it will change the whole structure of data message. So the value will no longer be string, it should be an object with type. Or at least, the Send event not only emit the value params, but also the type of input.

I'm not sure I can maintain the vue2 version anymore, so if someone can help, that's great.

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