SC Multi-Query (Array) displaying as text in data picker on F/E

Wappler Version : 4. Beta 7
Operating System : Mac
Server Model: NodeJS
Database Type: MySql8
Hosting Type: Docker Local.

Expected behavior

What do you think should happen?

I have a simple Multiple Records Query in SC that queries only one table. I output this so I can work with the data on the F/E.
When I go to the Data Picker, I select the Server Connect, then the Array then I click thre Wand Icon to start applying formatting.
When this opens, instead of displaying as an array, it displays as text, or the ‘A’ icon so I do not then have access to the array formatting options.

This happens all the time to me.

Screenshots:

SC showing Multiple Records query type (which should output as an array).
Screen Shot 2021-06-15 at 5.34.32 pm

App Connect - you can see it’s being correctly displayed as an array:
Screen Shot 2021-06-15 at 5.35.32 pm

I open the data formatter (wand) and the array is now showing as text so I don’t have the formatter options I expect for an array. If I write them manually, they work.
Screen Shot 2021-06-15 at 5.36.08 pm

So what happens if you change the type to Array at the bottom of the dialog?

It just breaks at that point:

Keeps telling me the Field is required.

If I then go to select the same array again, it revers the ‘Type’ to text.

This is the same bug, maybe worth merging the assignment in to one?

https://community.wappler.io/t/collections-missing-in-data-formatter-nodejs/33139/14

Fixed in Wappler 4 beta 8

1 Like

This topic was automatically closed after 45 hours. New replies are no longer allowed.