Skip to content

Commit

Permalink
disable timerange temporarly
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Sep 30, 2024
1 parent 2c4aab9 commit 4edab88
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/genlab_bestilling/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# from django.core.exceptions import ValidationError
from django.forms.renderers import BaseRenderer
from django.forms.utils import ErrorList
from formset.ranges import DateRangePicker
from formset.renderers.tailwind import FormRenderer
from formset.utils import FormMixin
from formset.widgets import DualSortableSelector, Selectize
Expand Down Expand Up @@ -55,7 +54,7 @@ class Meta:
"sample_types",
"analysis_types",
"expected_total_samples",
"analysis_timerange",
# "analysis_timerange",
)
widgets = {
"area": Selectize(search_lookup="name_icontains"),
Expand All @@ -68,7 +67,7 @@ class Meta:
),
"sample_types": DualSortableSelector(search_lookup="name_icontains"),
"analysis_types": DualSortableSelector(search_lookup="name_icontains"),
"analysis_timerange": DateRangePicker(),
# "analysis_timerange": DateRangePicker(),
}


Expand All @@ -80,7 +79,7 @@ class Meta(GenrequestForm.Meta):
"sample_types",
"analysis_types",
"expected_total_samples",
"analysis_timerange",
# "analysis_timerange",
)

# def clean_species(self) -> dict[str, Any]:
Expand Down

0 comments on commit 4edab88

Please sign in to comment.