Feature(s) impacted
addAction and dropdown field with dynamic search (nodejs agent)
Observed behavior
Dropdown with “dynamic” search doesn’t work when Row layout is used in the form.
This simple Action Form display correctly in the GUI, but when I type something to search in the field dropdownWithDynamicSearch
I got a console error (see below) and options function is never called.
If I remove the Row component, everything works good
collection.addAction("Test bug", {
scope: "Global",
execute: () => {},
form: [
{
component: "Row",
type: "Layout",
fields: [
{
label: "anyOtherField",
type: "String",
},
],
},
{
id: "dropdownWithDynamicSearch",
label: "Test",
type: "String",
widget: "Dropdown",
search: "dynamic",
options: async (context, search) => {
// async query never called
},
},
],
});
Expected behavior
The options function must me called and options must be displayed
Failure Logs
Context
- Project name: waro
- Environment name: production
- Agent technology: nodejs@1.47.0
- Database type: MySQL
- Recent changes made on your end if any: update from 1.43.0 to 1.47.0 and add row in Action Form