Re: Why doesn't {{ form.field.value }} return cleaned data?

2016-03-31 Thread Jani Tiainen
On 31.03.2016 01:08, Ryan Prater wrote: Say I have a TypedMultipleChoiceField and I'm building a custom select multiple widget in my template. If I want to check a box based on an initial value (ie. default checked options), OR check a box based on form data that has been returned (ie. erro

Why doesn't {{ form.field.value }} return cleaned data?

2016-03-30 Thread Ryan Prater
Say I have a TypedMultipleChoiceField and I'm building a custom select multiple widget in my template. If I want to check a box based on an initial value (ie. default checked options), OR check a box based on form data that has been returned (ie. error state), I would do this: HOWEVER, {{for