KazanExpress / vue-simple-suggest

Feature-rich autocomplete component for Vue.js
https://kazanexpress.github.io/vue-simple-suggest/
MIT License
461 stars 74 forks source link

OnLoad filled object is set to null #564

Open HOjWK1414 opened 2 years ago

HOjWK1414 commented 2 years ago

I'm submitting a ...

What is the current behavior?

A model that was populated as an object (OnGet) is set to null on load when the list is empty -> obviously the display-attribute can't show anything after that

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

What is the expected behavior?

Component as text input with value should work seperate from the list, if I can choose value-attribute and display-attribute it should just read these properties. Only if object is actually null show nothing. If object is filled onLoad, whisperer should find these properites same way and not setting object null

How are you importing Vue-simple-suggest?

What is the motivation / use case for changing the behavior?

Please tell us about your environment: