users
that includes a JSONB column named contact
. The contact
json can include a phone
, email
or country
attribute. Since I want to scope my collection by country
, I created a smart field called country
that returns the value of the country attribute and I implemented a filter feature for this field.forest/users.js
file of my admin backend.isFilterable: true
option in the field's declaration and to enable filtering on this field in the field settings in the UI.