Re: Custom Widget for CharField Multiple

2016-12-28 Thread roboslone
Hi! If I understand this correctly, subclassing `forms.widgets.Input` was a wrong idea. As you can see in Input's source (https://docs.djangoproject.com/en/1.10/_modules/django/forms/widgets/#Input ), it always

Custom Widget for CharField Multiple

2016-12-28 Thread Farhan Khan
Hi, I am trying to create a `CharFieldMultiple`, equivalent to the MultipleHiddenInput or SelectMultiple. The goal is to have multiple CharField returned as a list, but have not been able to recreate it. My code thus far is: class CharFieldMultiple(forms.widgets.Input): def render(self,