devbridge / jQuery-Autocomplete

Ajax Autocomplete for jQuery allows you to easily create autocomplete/autosuggest boxes for text input fields
https://www.devbridge.com/sourcery/components/jquery-autocomplete/
Other
3.57k stars 1.67k forks source link

I want to remove Spaces at the beginning and end of the input values #833

Closed YSZeng closed 2 years ago

YSZeng commented 2 years ago

I want to remove Spaces at the beginning and end of the input values For example, when typing ‘ Search Text ’, you can decide whether to handle leading and trailing whitespace in a text box. Sometimes you want to keep whitespace, but sometimes you want to delete whitespace.

merabchik commented 2 years ago

You can override style properties with CSS using class selector ".autocomplete-suggestions" by "!important" keyword in CSS

tkirda commented 2 years ago

You should be able to manipulate those values with JavaScript. Not sure what is the issue that you are describing here.