Commit 6e237a99 authored by Steffen Michels's avatar Steffen Michels

change number field element type to 'number' (still has to be discussed...

change number field element type to 'number' (still has to be discussed whether we want this in master)
parent d098061e
Pipeline #25309 passed with stage
in 6 minutes and 29 seconds
......@@ -143,7 +143,7 @@ itasks.NumberField = {
initDOMEl: function() {
var me = this,
el = this.domEl;
el.type = 'text';
el.type = 'number';
el.value = (me.attributes.value === undefined || me.attributes.value === null) ? '' : me.attributes.value;
if('enabled' in me.attributes && me.attributes['enabled'] === false) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment