Re: Input Widget with multiple input_type attr

2017-10-24 Thread gugsrs
But isn't there any other way to change that attribute from my template for example? Thank you for the reply. On Saturday, October 21, 2017 at 4:19:21 AM UTC-2, k2527806 wrote: > > forms.CharField(widget=forms.HiddenField) > > On Oct 21, 2017 12:45 AM, "gugsrs" >

Input Widget with multiple input_type attr

2017-10-20 Thread gugsrs
Hello, I am having some problems with django 1.11 widgets, I was using django-widget-tweaks to help rendering form fields, but now when I set a type="hidden" attribute to an Input Field, django creates the widget with both type="text" and type="hidden" attributes. That happens because when the w