drf-extra-fields icon indicating copy to clipboard operation
drf-extra-fields copied to clipboard

RangeField clear data, when html_input is True

Open Gerantino opened this issue 2 years ago • 1 comments

DateRangeField - trying to send with a form data, but default serializer method to_internal_value already call the html.parse_html_dict, then the second time RangeField to_internal_value do the same thing, but data do not suitable for default regex pattern, and as result returns just a blank dict.

Gerantino avatar Jun 13 '22 16:06 Gerantino

Hi, thank you for reporting this. As far as I see, you debugged the problem. Can you open a PR to fix this problem?

gokselcoban avatar Jun 27 '22 15:06 gokselcoban