vue-tel-input icon indicating copy to clipboard operation
vue-tel-input copied to clipboard

Duplicated country in the searchBox when I have preferred countries

Open rchalmeta opened this issue 1 year ago • 1 comments

If I have a list of preferred countries and I try to do a search I have the preferred countries duplicated.

One is in the preferred list The other is in the complete list in the alphabetic order.

I think this is a limitation. It is possible to delete the countries that are in the preferred list? Or have some flag to configure this option?

rchalmeta avatar Oct 25 '22 10:10 rchalmeta

I also found the issue with the preferred countries. An option to configure it would be nice or drop one of the duplicates when the user filters.

Regarding the filtering in the list, there also is an issue with the separator line as the position of the line is fixed after the first three items which show them as preferred. But when the user filters, the results might not be the preferred countries but any other country which is in the filter result. I would suggest to skip the complete preferred list while filtering also with the separator.

Is there any chance of providing a fix for it in the near future?

(I'm using [email protected] with Vue 2.)

andreasvoigt avatar Feb 28 '23 11:02 andreasvoigt