python - Django forms - checkbox group with dropdowns -


Can anyone tell me how to write a custom folder / custom field with a drop-down for a checkbox group by typing the Django form Can use?

  • All checkboxes should have the same name (checkbox group)
  • A drop in the form of hair element (as a single dropdown for all check boxes) in each checkbox
  • Custom Widtet / Custom Fields should accept the options [=] To generate the param checkbox group
  • Checkbox group with required verification =
  • Enter image details here

    Ex : Text box to show dimensions and should be a drop list of aggregate functions in each dimension.

    I used to be more

    You used the MultiValueField init To make all the choices in the method and to render all the checkboxes, you can accept any option to use custom logic in multivit and select and compress / decompress like the input to the user for any proper representation, Like the value {checkbox_name: operation}.


    Comments

    Popular posts from this blog

    c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

    class - Kivy: how to instantiate a dynamic classes in python -

    python - mayavi mapping a discrete colorbar on a surface -