Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Would it not be a good idea to make it possible to use the core autocomplete widget? It could be great for the cases where people can choose several/unlimited languages.
Comment | File | Size | Author |
---|---|---|---|
#4 | languagefield-autocomplete-tags-style-widget-2707625-4.patch | 2.5 KB | dakala |
#2 | Screenshot from 2016-04-16 13:18:46.png | 26.92 KB | matsbla |
Comments
Comment #2
matsbla CreditAttribution: matsbla commentedI see there is the autocomplete, but seems like not working to me (just searching searching without finding something).
Also; It gives you option to add several items under each other with each own autocomplete widget..
Maybe it is possible to just use the same autocomplete widget as core uses for tag fields? Check attached image.
Comment #3
dakalaComment #4
dakala@matsbla: Suggestion sounds good to me. Attached patch has implementation of a new autocomplete tags style widget.
Comment #6
johnvThanks, committed, including some reshuffling, added by my development environment.
Comment #8
@baux CreditAttribution: @baux commentedI'm working on a site with the addressfield 1.1 release, but I still have problems with both "Language autocomplete" and "Language autocomplete (Tags style)".
In the first case the values are not loaded and the wheel doesn't appear to search for the values, but no error is shown in the "Recent log messages".
In the second case (Tags style), the system shows a blank page in the content page creation and the following error is shown in the recent log messages:
As info, (if apply for the first error): I'm using D8 with Bootstrap theme v3.0 rc1
Comment #9
johnvComment #10
matsbla CreditAttribution: matsbla commentedFor me autocomplete widget is working, but if I set the form display to Autocomplete (Tags style) I also get the error:
Comment #11
johnvErrors #8 and #10 are happening if no default value is set in the field definition, and you are using the Tags widget. Below patch should fix that.
Comment #13
johnv