Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
static: js: css: Make multiple select fields work with Django 4.0
Closes: #2228. - Django 4.0 changed to using <div> instead of using <ul> and <li> for multiple choice select fields. Update code for the select-all button to work with the new HTML structure. - Add styling to ensure that multiple choice select field appears similar to previous <ul> and <li> based style. - This patch assumes that django-bootstrap-form has support for Django 4.0 as seen in tzangms/django-bootstrap-form#110 . Tests: - Radio select seem to have no issues. Checked in networks -> connection type page. - Open Backups -> Create backup page and ensure that select all button works and appears same on testing (Django 3.2) and unstable (Django 4.0). Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
- Loading branch information