1
Formula for visibility of items works in old runtime but not in new
planned
B
Bryony Harrower
In Legend my visibility formula 'CONTAINS(LOWERCASE(current.name), LOWERCASE(pageVars.searchText))' which I grabbed from https://docs.appgyver.com/appgyver-academy/tutorials/tutorial-articles/searchable-list works fine for a searchable list, in the new runtime it seems to prevent the list being shown or searched. Happy to update my formula, but would like to confirm if this is a bug or expected behaviour first!
Log In
Activity
Newest
Oldest
Kristian Gerkman
planned
Kristian Gerkman
under review
Kristian Gerkman
Hey @Bryony Harrower, could you give a bit more context? The formula looks correct and I tested it on its own and it seems to be working as intended. Have you been followed the tutorial and it is not working in 2.4.24? Thanks! :)
Kristian Gerkman
Found the issue, thanks! On mobile the
searchText
variable(page variables in general) is not initialized correctly, for a workaround you can use IF(pageVars.searchText, CONTAINS(LOWERCASE(current.name), LOWERCASE(pageVars.searchText)), true)
B
Bryony Harrower
@Kristian Gerkman: Thank you so much, works for me!