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 have a :full_name compound field in my Flop Schema that is built from :family_name and :given_name.
I can make the :full_name field searchable by adding it to the list of filterable, but in my application I have some additional fields that I want to search through.
So I created a search compound field. For simplicity, let us say it contains :email and :address.
Now I want to create one search input to search through full_name, email and address.
This does not seem possible as I cannot add full_name to the search compound field, because of Compound fields must reference existing fields.
I could add :family_name and :given_name to the search compound field, but this does not allow me to search for the full_name properly, as I can search for either the family or the given name, but not the full_name as a whole.
So is there a way to make a compound field and additional fields searchable through a single input?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey!
I have a
:full_name
compound field in my Flop Schema that is built from:family_name
and:given_name
.I can make the
:full_name
field searchable by adding it to the list offilterable
, but in my application I have some additional fields that I want to search through.So I created a
search
compound field. For simplicity, let us say it contains:email
and:address
.My schema looks something like this:
Now I want to create one search input to search through
full_name
,email
andaddress
.This does not seem possible as I cannot add
full_name
to thesearch
compound field, because ofCompound fields must reference existing fields
.I could add
:family_name
and:given_name
to thesearch
compound field, but this does not allow me to search for thefull_name
properly, as I can search for either thefamily
or thegiven
name, but not thefull_name
as a whole.So is there a way to make a compound field and additional fields searchable through a single input?
Beta Was this translation helpful? Give feedback.
All reactions