Not sure if this is a bug or feature
I set the onChange hook and don’t set the load hook. I trigger the onChange hook on the UI (setting a new enum for a field) and then close the action form. Then I open it again (for any record including the same one). The form has initial values as described in the action itself (an empty enum).
The form has some values that were set in the onChange hook for the previous record.
- Package Version: 8.3.0
- Express Version: 4.17.1
- Sequelize Version: 5.22.4
- Database Dialect: mysql
- Database Version: 5