We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes, my users have a default value saved on their SESSIONS. I want to pre-fill the country selector with that value.
This is what I tried so far:
$('#filters_geo').selectToAutocomplete({'real-value':''});
Edit: I got it working now. This is my solution (feel free to correct it if you think there's a more simple way to do it)
var $getCountry = $('#filters_geo option[value=""]').text(); $(".ui-autocomplete-input").val($getCountry);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Sometimes, my users have a default value saved on their SESSIONS. I want to pre-fill the country selector with that value.
This is what I tried so far:
$('#filters_geo').selectToAutocomplete({'real-value':''});
Edit: I got it working now. This is my solution (feel free to correct it if you think there's a more simple way to do it)
var$getCountry = $ ('#filters_geo option[value=""]').text();
$(".ui-autocomplete-input").val($getCountry);
The text was updated successfully, but these errors were encountered: