From 4aeba655f44b17e9e2c306294360d41267ecb0a0 Mon Sep 17 00:00:00 2001 From: Petrus Briland Date: Fri, 7 Feb 2020 15:27:12 +0100 Subject: [PATCH 1/3] Add better disable to datepicker --- .../frontend/views/formly_templates/datepicker_template.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ESSArch_Core/frontend/static/frontend/views/formly_templates/datepicker_template.html b/ESSArch_Core/frontend/static/frontend/views/formly_templates/datepicker_template.html index 776b1142d..6826e105b 100644 --- a/ESSArch_Core/frontend/static/frontend/views/formly_templates/datepicker_template.html +++ b/ESSArch_Core/frontend/static/frontend/views/formly_templates/datepicker_template.html @@ -27,11 +27,13 @@ class="form-control" data-ng-model="model[options.key]" autocomplete="off" + ng-disabled="to.disabled" />