iommirocks / iommi

Your first pick for a django power cord
http://iommi.rocks
BSD 3-Clause "New" or "Revised" License
718 stars 47 forks source link

endpoint for choices - problem with url length #442

Closed berycz closed 1 year ago

berycz commented 1 year ago

this is a "when needed" kind of ticket

requests to endpoints are via GET and for choices there is by default query string of all values from the form url length is limited tho so there is now a way to turn it off with data-select2-full-state

but if in the future someone needs dependent selects, the JS IommiSelect2.initOne may be tweaked to use a data attribute with json list of fields that need to be send to the endpoint