Hello. When I click on the recursive menu, I need to save the path and display it completely through slashes.
I have in Gallery1
Items:
Filter(Objects;CS_Parent=Text(tmp_loc.id) Or ID=Value(tmp_loc.id))
OnSelected:
UpdateContext({tmp_loc:{id:ThisItem.ID;title:ThisItem.Titel;parent:ThisItem.CS_Parent;container:ThisItem.CS_Container}});;Set(CS_Location;{id:ThisItem.ID;parent:ThisItem.CS_Parent;currentid:tmp_loc.id;title:ThisItem.Titel;path:Concatenate(CS_Location.title;" / ";tmp_loc.title)});;If(tmp_loc.container= false ;Navigate(FCamera;ScreenTransition.Cover))
In Label:
If(CS_Location.id > 0;CS_Location.path;"")
But Concatenate() does not work correctly. It builds a path only from 2 headings, inserts a slash on the first click and, when returning from another display, puts forward the final menu item. How to fix all this?