Quota item selection: Strike disabled items in select2

This commit is contained in:
Raphael Michel
2024-02-14 16:38:37 +01:00
parent 63894ca3da
commit 93eb041acc
2 changed files with 4 additions and 0 deletions

View File

@@ -674,6 +674,7 @@ def itemvar_select2(request, **kwargs):
{
'id': k,
'text': str(v),
'inactive': d,
}
for k, v, d in choices
],
@@ -715,6 +716,7 @@ def itemvars_select2(request, **kwargs):
{
'id': k,
'text': str(v),
'inactive': d,
}
for k, v, d in choices
],