Closed makenosound closed 7 years ago
Adds support for:
search_selection_field
search_multi_selection_field
Allows these search-related attributes to be passed:
search_url
search_per_page
per_page
search_params
file_type: :image
&file_type=image
search_threshold
1
0
''
selections
value
As well as these ones that match up with the non-search variants of the selection fields:
selector_label
render_option_as
formalist-standard-react
render_selection_as
@timriley Prolly want to merge this now too?
Thanks @makenosound!
💪
Adds support for:
search_selection_field
search_multi_selection_field
Allows these search-related attributes to be passed:
search_url
— the endpoint to hitsearch_per_page
— theper_page
param to pass through to the search URLsearch_params
— any additional params to be sentfile_type: :image
—>&file_type=image
search_threshold
— the threshold to trigger a search. This defaults to1
, setting to0
means a search for''
will be triggered on mount.selections
— the extended data for existing selections (to accompany the general fieldvalue
).As well as these ones that match up with the non-search variants of the selection fields:
selector_label
— the label for the selector buttonrender_option_as
— the name (string) of a component to render as pass through in theformalist-standard-react
configurationrender_selection_as
— the name (string) of a component to render as pass through in theformalist-standard-react
configuration