File tree Expand file tree Collapse file tree 3 files changed +0
-11
lines changed
Expand file tree Collapse file tree 3 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,6 @@ const INPUT_TYPE_ACTION = {
122122 string : ( dataKey , field ) => ( {
123123 input : ( { target : { value } } ) => {
124124 field . set ( dataKey , value )
125- field . updatePreview ( )
126125 } ,
127126 } ) ,
128127 number : ( dataKey , field ) => ( {
Original file line number Diff line number Diff line change @@ -24,15 +24,6 @@ export default class EditPanel {
2424 this . field = field
2525
2626 this . panelConfig = this . getPanelConfig ( this . data )
27-
28- if ( panelName === 'options' ) {
29- field . addSetCallback ( `^${ panelName } ` , ( ) => {
30- this . data = field . get ( 'options' )
31- const { config, ...panelConfig } = this . getPanelConfig ( this . data )
32- const editPanel = document . getElementById ( this . panelConfig . id )
33- editPanel . replaceWith ( dom . create ( panelConfig ) )
34- } )
35- }
3627 }
3728
3829 getPanelConfig ( data ) {
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import startCase from 'lodash/startCase'
33import throttle from 'lodash/throttle'
44import dom from '../../common/dom'
55import Panels from '../panels'
6- // import { indexOfNode } from '../../common/helpers'
76import { clone , unique } from '../../common/utils'
87import EditPanel from './edit-panel'
98import Component from '../component'
You can’t perform that action at this time.
0 commit comments