I’m getting this in the console:
Formatter parseJSON in expression [questionOptions.parseJSON()] doesn't exist for type array
I’m getting this in the console:
Formatter parseJSON in expression [questionOptions.parseJSON()] doesn't exist for type array
What database are you using? If using a JSON field type in your database then you should be able to directly use it as a source for your repeat <div dmx-repeat:repeat1="questionOptions">
It’s MariaDB and I’ve successfully used the JSON field. The values in the record were put there via the system built with Wappler.
But when using a JSON field then you should be able to directly use it as a repeat source, without any other formatting required.
Whoa. I’ve just removed the .parseJSON() formatter and it’s now working. I’m sure I’ve now got exactly what I tried right at the beginning. Very strange. Seems to be fine now, though.
Huge thanks @Apple and @Teodor.
EDIT: The UI is still struggling a bit, though, giving me this in the data picker:
@Teodor, just bumping in case you didn’t see my edit in the previous post. The page is working but the Wappler UI isn’t. Should I open a bug report?
I am not sure i really understand what do you show in your video exactly. Can you please explain this more detailed and if possible make a more clear video showing the issue?
I’ll create a new thread and post as much info as I can.