Closed AppSynergy closed 6 years ago
Gave myself the idea there, think I've nailed it:
list_of_mixed_lists:
_type: prototype
_required: true
_prototype:
_type: choice
_choices:
1:
_type: text
2:
_type: partial
_partial: list_of_texts
Hello! I'm trying to write a partial to fit some of my data.
I've got things like, which handles e.g.
['foo', 'bar']
Or for
[['foo', 'baz'], ['der', 'dum']]
But I'm stuck on:
['foo', ['bing', 'bong']]
Can I put a
_choice
inside a prototype somehow?