commit 6583023355d35a5f3f4ecd69f8415040b1c5e02b
parent e33bc0d972fb61e573a1b24354ca2f4af4bd4f5c
Author: Felicia Hummel <felicia@partkeepr.com>
Date: Tue, 17 Jan 2017 19:02:31 +0100
Added fix for checkboxes returning no value, fixes #788
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/ExtJS/Bugfixes/Ext.form.field.Checkbox.EXTJS-21886.js b/src/PartKeepr/FrontendBundle/Resources/public/js/ExtJS/Bugfixes/Ext.form.field.Checkbox.EXTJS-21886.js
@@ -0,0 +1,6 @@
+//@todo remove with ExtJS 6.2.1
+Ext.define('Ext.overrides.form.field.Checkbox', {
+ override : 'Ext.form.field.Checkbox',
+
+ uncheckedValue : false
+});
diff --git a/src/PartKeepr/FrontendBundle/Resources/views/index.html.twig b/src/PartKeepr/FrontendBundle/Resources/views/index.html.twig
@@ -63,6 +63,7 @@
'@PartKeeprFrontendBundle/Resources/public/js/Data/HydraModel.js'
'@PartKeeprFrontendBundle/Resources/public/js/Data/HydraTreeModel.js'
'@PartKeeprFrontendBundle/Resources/public/js/Data/store/ModelStore.js'
+ '@PartKeeprFrontendBundle/Resources/public/js/ExtJS/Bugfixes/Ext.form.field.Checkbox.EXTJS-21886.js'
'@PartKeeprFrontendBundle/Resources/public/js/ExtJS/Enhancements/Ext.data.field.Date-ISO8601.js' %}
<script type="text/javascript" src="{{ asset_url }}"></script>