Wappler UI doesn't understand .flatten() schema

Wappler Version : 5.1.2
Operating System : MacOS
Server Model: NodeJS
Database Type: N/A
Hosting Type: Docker

Expected behavior

  1. API Action to some place that gets an array
  2. api.data.flatten("some_key")
  3. Wappler UI understands .flatten returns an array, instead of the api object

Actual behavior

Wappler UI shows in the Data Binding Picker as if api.data.flatten("some_key") is api object, so you can see all original properties of api instead of the new array itself

Temporary solution

(api.data).flatten("some_key")
Community Page
Last updated: