Wappler Version : 7.5.2
Operating System : Linux/Windows
Server Model: NodeJS
Database Type: Postgres
Hosting Type: Docker
Expected Behavior
When using dmx-bind with grid type attributes containing component proxy property references, the component should fetch/parse proxy object values to their actual values before passing them to the component JS.
Example: A grid binding like dmx-bind:val_api_params="[{key:'processor_id',value:fi_processors.value}]" should evaluate fi_processors.value to the actual selected value (e.g., "1") instead of returning null.
Actual Behavior
In App Connect 2.2.2, when using grid type bindings with component proxy property accessors, values should get parsed, This was working fine in App Connect 2.1.5
How to reproduce
- Custom Module That rely on using grid data type are breaking as a result of this parsing issue
{
name: "valApiParams",
attribute: "dmx-bind:val_api_params",
type: "grid",
jsonFormat: true,
columns: [
{
field: "key",
editable: { type: "text" }
},
{
field: "value",
editable: { type: "datapicker" }
}
]
}
Additional Info
if i don’t use the .value, Then i get the Proxy Object, Adding the .value gives me null
dmx-bind:val_api_params="[{key:'account_id',value:fi_account_id},{key:'service_type',value:fi_account_id.value}]"
{key: 'account_id', value: Proxy(Object)}
{key: 'service_type', value: ''}