Closed evgeny-sureev closed 9 months ago
You are right - i18n.fetchEmpty
should be shown, BUT I am getting i18n.nomatch
, not i18n.fetchBefore
🤔
What is your setup, that you get i18n.fetchBefore
?
Here it is on Svelecte demo page https://mskocik.github.io/svelecte/, displayed text 'Type to start searching' is i18n.fetchBefore value.
If remote datastore return empty results, we must display
i18n.fetchEmpty
instead ofi18n.fetchBefore
. I think there is a bug on line 220 of Svelecte.svelte,listMessage
created as local variable instead of setting value of existing global var.