jackocnr / intl-tel-input

A JavaScript plugin for entering and validating international telephone numbers
https://intl-tel-input.com
MIT License
7.54k stars 1.94k forks source link

Hide search field #1709

Closed crowsturnwhite closed 1 month ago

crowsturnwhite commented 1 month ago

Plugin version

v23.0.11

Steps to reproduce

  1. Initialize intl-tel-input

Expected behaviour

No search field in the dropdown. Hide search field in the dropdown.

Actual behaviour

Cannot hide search field.

Initialisation options

countrySearch: false utils: (using 23.0.11)

jackocnr commented 1 month ago

Can you please describe your use case? Why would it be a better UX without the search feature?

JRoussos commented 1 month ago

I think what @crowsturnwhite means is that despite setting the countrySearch option to false, it doesn't hide the search input. I run into the same issue

jackocnr commented 1 month ago

I understand what you're trying to do, but I think it would help to understand why you're trying to do it.

jackocnr commented 1 month ago

If you upgrade to the latest version, I've re-added the countrySearch option.