barseghyanartur / django-fobi

Form generator/builder application for Django done right: customisable, modular, user- and developer- friendly.
https://pypi.python.org/pypi/django-fobi
485 stars 112 forks source link

saving and transmitting multiple-select-fields are buggy #251

Open matacino opened 3 years ago

matacino commented 3 years ago
  1. Saving and sending per mail sends/saves not the value but the "visible" content.
  2. Sending with HTTP-Repost transmits the last selected value (in this the case the right content) and not the list of the values of all selected fields.

System-env: Python 3.8.6 and Django 2.2.15, fobi 0.15

Regards

barseghyanartur commented 3 years ago

Check FOBI_FORM_ELEMENT_SELECT_MULTIPLE_SUBMIT_VALUE_AS. Also, check all other select fields, as each of them has a dedicated setting.

matacino commented 3 years ago

Thank you for the hint and clarification! I Tested it and it changes the behavior of the E-Mail and Database- Form action but unfortunately not for the http-repost. If it is not implented I could add this. Currently I am working on a version of the http-repost with an additional attribut-value pair for the send-header eg. for auth-tokens.

barseghyanartur commented 3 years ago

@matacino:

If so, please do. Use branch v0.16.x.

barseghyanartur commented 3 years ago

@matacino: Any progress on this?