You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see 'text' is required in the AJAX response to show. How can I change this to a different value from 'text', to 'foo'? Maybe it could be a property on the form type?
The text was updated successfully, but these errors were encountered:
There is no way to change it for now but I think it would be possible to enhance the templating functionality to provide a simple means to use a different property name. I can't make any promises but I agree that it would probably be a useful feature.
with select2 v.3 you could override the selection method and return the property you want to use. in 3 it was formatSelection and formatResults iirc. It looks like they've been renamed to templateSelection and TemplateResults for 4.*.
I see 'text' is required in the AJAX response to show. How can I change this to a different value from 'text', to 'foo'? Maybe it could be a property on the form type?
The text was updated successfully, but these errors were encountered: