Wappler Version : Last stable
Operating System :MacOS Sonoma
Server Model: NodeJS
Database Type: PostgreSQL
Hosting Type: custom
I have a DataView, inside it there is an element of type Array - when I try to build an expression based on it in the filter - it is impossible to select a single formatter - the list is empty.
yes, this is originally an array. But if you try to use it in dynamic binding from another place, then everything is fine. That is, the problem arises precisely in the filter in the DataView
If you change the type on it, formatters appear - although not the ones needed for the array
Here is an example when I use it in a simple variable
Sorry i am not sure i understand what exactly are you doing. Also it’s not clear from your screenshots. Can you try to explain step by step in more details what exactly are you trying to achieve?
I use it as a data source in a DataView and try to set a condition in the filter (I need to check whether a certain value is contained in this array). And in this place formatters are not available
Aren’t you on the beta extensions channel?
The data view filter dialog has been update with new expression builder there, where it’s easier to build complex expressions:
No, just switch to beta, restart wappler, update the files suggested in the project updater and you will see the same as on the tutorial i posted above.
It looks like this thing doesn’t work normally, first of all, there is no “join” in the list of functions, and when I manually entered the code and it even seemed to work, then when I open it again it’s empty
I need the filter to select either all data if the selection selector has a value of 0, or to select those in which there is a selector value in the places array - in the old version this task is easily solved through such a filter, if it worked
And in this beta version, the calendar began to behave abnormally - when the data source changes, it does not update the display until you manually change the period
I still don’t understand your question/idea.
You have an array column in the data view and you want to filter it by the value of a select menu on the page? Is that what you need?