Closed dwasyl closed 5 years ago
Yeah, that's a good idea. Feel free to submit a PR, or I can get to this later in the week
Okay, I will see if I have time. I'm busy trying to shoehorn PhoneWidget
into crispy-forms
which is an adventure on its own.
Since
PhoneWidget
updates thephone_attrs
andext_attrs
based on theattrs
provided to the widget there is no runtime way of lengthening just thephone_attrs
orext_attrs
input boxes. Currently to change the length of one, you must change the length of both inputs.Would you be open to separate
attrs
value ofphone_size
andext_size
that then get applied to the respectiveattr
defaultsize
?