Trying to restrict search options in UI. Adding these option to a Mongoose collection:
collection(‘users’, {
isSearchable: false,
searchFields: [‘id’, ‘email’, ‘createdAt’, ‘updatedAt’],
Expected behavior
According to https://docs.forestadmin.com/documentation/how-tos/settings/restrict-the-search-on-specific-fields at least I should not have the ability to search on other fields.
I would also want the extended search to be disabled
Actual behavior
UI appears with full test search and filter allows selection of any field and will filter based on any field.
Context
Please provide any relevant information about your setup.
- Package Version: 6.1.4
- Express Version:4.17.1
- Sequelize Version:
- Database Dialect: MongoDB
- Database Version:
- Project Name: