Cannot use template string with wildcard as value_field for relation widget #5487
Labels
area: extensions/widgets/relation
area: slugs
exp: intermediate
type: bug
code to address defects in shipped code
Describe the bug
When using a template string that contains a
*
wildcard (to access every item of a list) asvalue_field
of a relation widget, the widget says "No options".To Reproduce
a
andb
, and populate itvalue_field
to'mylist.*.a'
value_field
to'a is {{mylist.*.a}} - and b {{mylist.*.b}}'
Expected behavior
Template string should work even with wildcard.
The text was updated successfully, but these errors were encountered: