    /*

    Siesta 5.3.0
    Copyright(c) 2009-2019 Bryntum AB
    https://bryntum.com/contact
    https://bryntum.com/products/siesta/license

    */
    Ext.define('Siesta.Recorder.UI.Editor.Array', {
        extend          : 'Ext.form.field.Text',
        alias           : 'widget.arrayeditor',

        getValue : function () {

            var value = this.callParent(arguments);

            if (typeof value === 'string' && value.match(/\d*,\d*/)) {
                value = value.split(',');
                value[0] = parseInt(value[0], 10);
                value[1] = parseInt(value[1], 10);
            }

            return value;
        }
    });