Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions web-client/core/main/widgets_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ def json_from_str(self, str_test) -> dict:
return str_test

def pre_process_data(self, data):
self.init_form(data)
self.init_form(data, True)
self.builder.compute_data()
sub_data = self.builder.main.form_data.copy()
self.init_form(data)
self.init_form(data, True)
return sub_data
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
display: block;
z-index: 1070;
}
.it-datepicker-wrapper .it-date-datepicker[readonly] {
background: hsl(225, 32.2033898305%, 92.625%);
}
</style>

<div class="{{ customClass }} {% if hidden %} d-none {% endif %} ">
Expand Down Expand Up @@ -54,10 +57,8 @@
allowInput: true,
enableTime: {{ is_time | tojson }},
{% else %}
{% if value %}
{% if is_date %} noCalendar: true, {% endif %}
{% if is_time %} enableTime: false, {% endif %}
{% endif %}
{% if is_date %} noCalendar: true, {% endif %}
{% if is_time %} enableTime: false, {% endif %}
{% endif %}
{% if is_time and not is_date %}
noCalendar: true,
Expand Down