ikloster03 / vue-dadata

Vue component for hinting addresses using dadata.ru
https://vue-dadata.ikloster.tech
MIT License
28 stars 31 forks source link

Bug on android #94

Closed savayer closed 1 year ago

savayer commented 4 years ago

Bug description I'm entering the first letter (or several) of a city, selecting it and after that the value does not appear in the input. You have to enter the city completely and only after that the select works

Screenshots I check this in BrowserStack. I entered the first letters, chose the proposed city, got the coordinates, but the value that I entered remained in the input field

2020-11-19_15-49

Smartphone:

Do you have any ideas? Thanks

allinchow commented 3 years ago

also have this bug on Android

allinchow commented 3 years ago

while the bug is not fixed - added a small dirty fix, it works for me:

getDataByCity(event) { // VueDadata prop :onChange="getDataByCity"

    //.... manipulations with event 

    // small fix

    document.querySelector('.vue-dadata__input').value = event.value;

} 
savayer commented 3 years ago

@allinchow Thanks