Expected behavior
Smart Action change
hooks to work
Actual behavior
After migrating to v8, change
hook is returning an error. I’ve tried reusing the exact same code from documentation in case it has changed, but still having the same error with following code:
hooks: {
change: {
onCityChange: async ({ fields, request, changedField }) => {
return fields;
},
},
},
Failure Logs
Context
Please provide any relevant information about your setup.
- Package Version:
forest-express-sequelize@8.2.7
- Express Version:
4.17.1
- Sequelize Version:
5.15.2
- Database Dialect: PG
- Database Version:
11
- Project Name:
Shotgun Admin