ForestAdmin / forest-express

🧱 Dependency of Express Lianas for Forest Admin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

defaultValue does not work in smart actions

tatyanaQ opened this issue · comments

Expected behavior

Form field has the default value as defined in .forestadmin-schema.json

Actual behavior

Field has no default value

Context

After migrating from 7.5.1 to 7.9.6 version (I use forest-express-sequelize, migrated from 6.3.15 to 6.7.6) defaultValue in .forestadmin-schema.json has no impact on the UI. If switch forest-express-sequelize back to 6.3.15 (and forest-express to 7.5.1) - defaultValue works

  • Package Version: 7.9.6
  • Express Version: 4.17.1