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

Improving the Web Widget #24

Open
grillol opened this issue Mar 1, 2019 · 8 comments
Open

Improving the Web Widget #24

grillol opened this issue Mar 1, 2019 · 8 comments

Comments

@grillol
Copy link

grillol commented Mar 1, 2019

Hi Marcel, thanks for the job you have done.

I would like to improve the web widget action.

For example, I would like the user to fill in a list of values before sending the message (ex: work experience list), or to have an autocomplete option, etc.

Would it be possible to have minimal documentation of the code and some suggestions to contribute on this direction?

Thanks a lot.

@danlopez00
Copy link
Contributor

+1

1 similar comment
@Dontorpedo
Copy link

+1

@arch2603
Copy link

I am interested to know if there are documentations available that will allow us to customize the widget, please?

@Dontorpedo
Copy link

absoulutely +1

@teevon
Copy link

teevon commented Apr 2, 2022

absolutely, I am currently experiencing issues trying to turn off the default autocomplete setting of the #userText input field (The #userText input field is the web widget input field, I inspected and found out the id attribute was userText)

@adelmazza
Copy link

adelmazza commented Apr 20, 2022

absolutely, I am currently experiencing issues trying to turn off the default autocomplete setting of the #userText input field (The #userText input field is the web widget input field, I inspected and found out the id attribute was userText)

You can add this after chat.js:

<script> window.addEventListener('load', function () { document.getElementById("userText").setAttribute("autocomplete","off"); }) </script>

@teevon
Copy link

teevon commented Apr 21, 2022

absolutely, I am currently experiencing issues trying to turn off the default autocomplete setting of the #userText input field (The #userText input field is the web widget input field, I inspected and found out the id attribute was userText)

You can add this after chat.js:

<script> window.addEventListener('load', function () { document.getElementById("userText").setAttribute("autocomplete","off"); }) </script>

@adelmazza I went to the chat.js and directly added set the autocomplete attribute to off, but I prefer your solution better, makes it more flexible for future changes, if the need arises, updated my code, thank you.

@EranGrin
Copy link

I created a new package that solves this and several other issues
https://www.npmjs.com/package/botman-extended-web-widget

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

7 participants