Feature(s) impacted
Dynamic smart action fields not displaying as expected for text area widget.
Observed behavior
We have smart action which displays Text Area widget. It is correctly rendered when we pass fields configuration in Smart Action fields array. Screenshot displayed below
When we try to pass fields configuration dynamically onLoad hook for smart action using below query
fields.push(...formFields);
Text Area widget fields is displayed as not input fields. Screenshot displayed below
Fields configuration for widget fields is as below
Field _1: {
field: 'Field 1',
type: 'String',
defaultValue: null,
enums: null,
isRequired: true,
reference: null,
description: null,
widget: 'text area',
},
Expected behavior
Smart action widget fields should get displayed correctly for dynamic form fields.
Context
- Project name: Curator
- Team name: Developers
- Environment name: Local
- Package Version: 8.3 (forest-express-sequelize)
- Express Version: 4.17.1
- Sequelize Version: 6.6.5
- Database Dialect: MySql
- Database Version: 5.7.24