YaleSTC / shifts

Application to easily track shifts, reports, and payforms for employees.
MIT License
23 stars 18 forks source link

Re-implement autocomplete #316

Closed mnquintana closed 9 years ago

mnquintana commented 10 years ago

Some forms have fields for entering users (e.g. payform_item_sets/_form.html.erb), which are supposed to have autocomplete - this is currently broken. But, our old implementation kinda sucks, so we should scrap it and build it from scratch. We should investigate good autocomplete solutions (Bootstrap doesn't have one anymore).

Specifically, it needs to support token input.

njlxyaoxinwei commented 10 years ago

The old method is called tokenized_users_autocomplete inside application_helper. There are three occurrences of it, namely payform_item_sets/form partial, restrictions/form partial and sub_requests/form partial.