Maybe this example will help:
https://anvil.works/build#clone:XM6UBRJJBPTN55EH=RKSB6IKJKEIFZIN5VNMCQMSS