register page update

This commit is contained in:
Ghassan Yusuf 2026-01-25 11:14:38 +03:00
parent c1fc28087e
commit 766c8f266a
2 changed files with 4 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@ -79,6 +79,9 @@
// Initialize Select2 for searchable dropdown
if (typeof $ !== 'undefined' && $.fn.select2) {
$(selectElement).select2({
placeholder: 'Search and select a country...',
allowClear: true,
minimumResultsForSearch: 0, // Always show search bar
templateResult: function(state) {
if (!state.id) {
return state.text;