Giter Site home page Giter Site logo

Comments (18)

xlcrr avatar xlcrr commented on June 1, 2024 1
<form autocomplete="off">
   <vue-simple-suggest />
</form>

from vue-simple-suggest.

bogdan-dubyk avatar bogdan-dubyk commented on June 1, 2024 1

Oh lol, vss is vue-simple-suggest :)

from vue-simple-suggest.

kaskar2008 avatar kaskar2008 commented on June 1, 2024 1

Hello @bogdan-dubyk

Can you provide us a link to reproduction repo/jsfiddle/jsbin stand? Would be much easier to do some debugging. We are using VSS in our production projects and got no such issue.

from vue-simple-suggest.

xlcrr avatar xlcrr commented on June 1, 2024

Fixed by wrapping vss in a form and adding autocomplete="off" to the form element

from vue-simple-suggest.

bogdan-dubyk avatar bogdan-dubyk commented on June 1, 2024

I tried with a autocomplete="off" and did not work. I'm not sure what is a vss, sorry:( can u.show me or link to the place I can read about it?

from vue-simple-suggest.

xlcrr avatar xlcrr commented on June 1, 2024

Did it work for you too? Can close this issue if so

from vue-simple-suggest.

bogdan-dubyk avatar bogdan-dubyk commented on June 1, 2024

Sorry, I did not try it yet, let u know a bit later

from vue-simple-suggest.

bogdan-dubyk avatar bogdan-dubyk commented on June 1, 2024

no, it's not working for me, I tried to wrap all fields with a <form autocomplete="off"></form> and directly vss as you propose and it's not working :( , And actually as I told I think I already tried that before

from vue-simple-suggest.

xlcrr avatar xlcrr commented on June 1, 2024

Do you need this nested <input> element? Try give that autocomplete="false" as well as the form, and try remove it to see if that fixes it. I don't have a nested input element and wrapping vss in a form worked for me

from vue-simple-suggest.

bogdan-dubyk avatar bogdan-dubyk commented on June 1, 2024

k, I'll try it tomorrow, it's late for me, thanks! And the reason I have that nested element is b-z I need to set a custom class and placeholders, can I do It without nesting that input???

from vue-simple-suggest.

xlcrr avatar xlcrr commented on June 1, 2024

Try a simple version first, then add another layer of complexity and see where it breaks

from vue-simple-suggest.

bogdan-dubyk avatar bogdan-dubyk commented on June 1, 2024

well, now I'm not sure if it's related to autocomplete, when I remove nested input that cross sign gone, but still the dropdown not appearing. I make small videos to show how it works on Chrome and on Firefox (same on safari) , as u can see it working on Firefox.. not sure if it can be helpful.

Not code looks like this:

                            <form autocomplete="off">
                                          <vue-simple-suggest
                                              v-show="!city.isCityLoading"
                                              v-model="city.searchInput"
                                              :debounce="1000"
                                              :min-length="2"
                                              display-attribute="name"
                                              value-attribute="id"
                                              :list="getCity"
                                              :filter-by-query="false"
                                              @select="citySelect"
                                          >
                                          </vue-simple-suggest>

                            </form

from vue-simple-suggest.

bogdan-dubyk avatar bogdan-dubyk commented on June 1, 2024

Sure @kaskar2008 , I'll prepare some sample code

from vue-simple-suggest.

bogdan-dubyk avatar bogdan-dubyk commented on June 1, 2024

Here is the code sandbox example I made, where I can reproduce the bug https://codesandbox.io/s/stupefied-flower-q3xz4?file=/src/App.vue (HTML is broken as I remove most of the logic)

from vue-simple-suggest.

bogdan-dubyk avatar bogdan-dubyk commented on June 1, 2024

Is someone able to reproduce the issue and have any thought on how to fix it???

from vue-simple-suggest.

xlcrr avatar xlcrr commented on June 1, 2024

Can you simplify the code example? No need for it to be 650 lines

from vue-simple-suggest.

bogdan-dubyk avatar bogdan-dubyk commented on June 1, 2024

sure, here it is https://codesandbox.io/s/vigorous-cartwright-fiyb3

from vue-simple-suggest.

bogdan-dubyk avatar bogdan-dubyk commented on June 1, 2024

any updates? :)

from vue-simple-suggest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.