Set Value data type?

When I first starting using Wappler, there was no Data Type on a Set Value action, but today there is, so I’ve been setting it…but it doesn’t appear to give me any control over the data type.

For example:
Screen Shot 2020-10-19 at 10.51.46 AM

still produces a number, even though I’ve set to Text.
Screen Shot 2020-10-19 at 10.52.17 AM

So what does this Data Type property control?

Well the data type setting doesn’t change the value - it just gives a hint of its output type so that on other UI and pickers know what to do with it.

If you enter a value manually like you did in the UI - the entry is just smart enough to see what you have entered and quotes or not the value. But this is just because you enter it manually.

Okay, that’s what I remembered being changed…however, within the server connect, it shows test as being an object, regardless of the setting.

Screen Shot 2020-10-19 at 11.12.52 AM

It works though, on App Connect:
Screen Shot 2020-10-19 at 11.15.32 AM

This has been fixed in Wappler 4.6

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