simon-brooke / youyesyet

Web-app to support canvassers in the forthcoming independence referendum in Scotland
GNU General Public License v2.0
3 stars 0 forks source link

Searchable select widget #47

Open simon-brooke opened 6 years ago

simon-brooke commented 6 years ago

We are going to have entities with extremely large numbers of records. It's impossible to populate a menu with all records of such an entity, and the menu would be unusable if we did so. Therefore we need something similar in action to a Microsoft Combi-box.

The re-com Single Dropdown will do this for Reframe. Doing it in HTML is likely to be harder; selectize.js might help.

simon-brooke commented 6 years ago

I suspect that the problem here is that the content-type header on the response may be wrong. I haven't tested this hypothesis yet, but the client side error is 'parser error', while the JSON which is returned is valid.

simon-brooke commented 6 years ago

Hypothesis was correct, fixed.