Anvil Community Forum

Why is repeating panel date-picker date property a str?

I’m reading a repeating panel row and the date-picker date property is coming up as type str.
Why?

for leg_row in self.legSumPNL.items:

  legName = leg_row['legName']
  legStart = leg_row['legStart']
  print(type(legStart))

and the date picker date property is set to:

self.item[‘legStart’]

Help!

What is leg_row? Is it a dict or a table row? Is it coming from JSON, an API, or somewhere else?

1 Like

Via the for loop, it’s a repeating panel item so a dictionary (because legSumPNL is a repeating panel).

can you share a clone?

1 Like