Timeline for Custom form, input with ajax autocomplete not working
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 3, 2018 at 8:36 | vote | accept | briast | ||
Apr 3, 2018 at 8:36 | comment | added | briast | Thanks for your help. I have found the problem. The code is right. See my answer below. | |
Apr 3, 2018 at 8:35 | answer | added | briast | timeline score: 2 | |
Apr 2, 2018 at 7:26 | comment | added | Berdir | Can you try without the _format: json? Btw, I think you could still use entity_autocomplete for this, in combination with a custom selection plugin. You just need that plugin then where you override/customize the query. Using #type entity_autocomplete gives you a bunch of additional things like proper handling of default value/validation to make sure your users can really only select a valid node there.. just having the autocomplete means you still need to parse the string, validate it and so on. | |
Mar 30, 2018 at 11:57 | answer | added | lamp5 | timeline score: 0 | |
Mar 30, 2018 at 11:24 | history | asked | briast | CC BY-SA 3.0 |