Open spaquet opened 3 months ago
+1 for this issue, I'm currently handling this using Javascript
@davidmir I eventually developed the code as a Rails Stimulus controller and consider this as a template more than a component you can use out of the box.
It seems like that the JavaScript event listeners aren't set up right, I might have a try.
I have fixed the issue https://github.com/themesberg/flowbite/pull/984
Hi @zoltanszogyenyi, I've fixed the phone input country code bug, enabling selection, proper closing. I also removed the duplicate Germany entry. Please review and merge https://github.com/themesberg/flowbite/pull/984. Thank you!
Describe the bug the phone input country code feature does not work as it does not let the user selects a country code and remains opened with no way to close it.
To Reproduce Steps to reproduce the behavior:
Expected behavior when a user selects a country code from the list the dropdown should close and the country code should be selected when a user clicks outside of the list the dropdown should close and the country code should remain the same
Desktop (please complete the following information):