You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Seems like this Dadata Vue component lacks any API request caching mechanism, which might be a surprise for anyone transitioning from the official dadata jQuery plugin since requests are limited and cost money.
This should at least be mentioned in the README.md.
To Reproduce
Steps to reproduce the behavior:
Install the plugin or clone the repo and install, add your API key, run dev
Pass debounce-wait="100" to <VueDadata> (to correspond to the jQuery plugin and make behavior more responsive)
Start typing in the vue-dadata input field, repeating values over and over again
See that each input triggers a new API request even if we got the result for the identical request a second ago
Expected behavior
a) Caching of requests or
b) A clear mention in the README.md that the plugin doesn't use caching
Screenshots
Screencast demonstrating the difference in sending network requests between this vue component and the official dadata plugin (which is used on the dadata.ru site and is captured in the screencast)
chrome_2024-12-06--15-36-16--657.mp4
Desktop (please complete the following information):
OS: Win11
Browser: Chrome 131
Version: vue-dadata 3.0.0-beta.13
The text was updated successfully, but these errors were encountered:
Describe the bug
Seems like this Dadata Vue component lacks any API request caching mechanism, which might be a surprise for anyone transitioning from the official dadata jQuery plugin since requests are limited and cost money.
This should at least be mentioned in the README.md.
To Reproduce
Steps to reproduce the behavior:
debounce-wait="100"
to<VueDadata>
(to correspond to the jQuery plugin and make behavior more responsive)Expected behavior
a) Caching of requests or
b) A clear mention in the README.md that the plugin doesn't use caching
Screenshots
Screencast demonstrating the difference in sending network requests between this vue component and the official dadata plugin (which is used on the dadata.ru site and is captured in the screencast)
chrome_2024-12-06--15-36-16--657.mp4
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: