ForageWeb.ForageView.forage_select_filter
You're seeing just the function
forage_select_filter
, go back to ForageWeb.ForageView module for more information.
Link to this function
forage_select_filter(form, field, opts)
Widget to select an external resource using the Javascript Select2 widget.
Parameters:
form
(%Phoenix.HTml.Form.t/1
)- the formfield
(atom)
Required options:
:path
(required) - the URL from which to request the data:foreign_key
(optionsl) - The name of the foreign key (as a string or an atom). If this is not supplied it will default tofield_id