

import CanvasView from 'demoPage/views/CanvasView';

export default function () {
    const model = new Backbone.Model({
        numberValue: 42
    });

    model.on('change', (model) => console.log(model.changed));

    return new CanvasView({
        view: new core.form.editors.NumberEditor({
            model,
            key: 'numberValue',
            changeMode: 'keydown',
            autocommit: true,
            min: -300,
            allowFloat: true,
            max: 300,
            step: 3,
            intlOptions: {
                useGrouping: false
            }
        }),
        presentation: '{{numberValue}}',
        isEditor: true
    });
}

@@ -162,74 +162,8 @@
 %0D%0A%0D%0A
-    model.on('change', (model) =%3E console.log(model.changed));%0D%0A%0D%0A
     

delete trash in log