diff --git a/src/component/control/inputButton/index.js b/src/component/control/inputButton/index.js index 572ca041..adf238ca 100644 --- a/src/component/control/inputButton/index.js +++ b/src/component/control/inputButton/index.js @@ -11,7 +11,7 @@ export const Control_inputButton = function({ classList = [], inputButtonClassList = [], type = false, - inputHide = false, + buttonHideInput = false, labelText = 'Label', srOnly = false, inputButtonStyle = [], @@ -75,7 +75,7 @@ export const Control_inputButton = function({ this.button = form.input.inputButton({ style: inputButtonStyle, - inputHide: inputHide, + buttonHideInput: buttonHideInput, srOnly: srOnly }); diff --git a/src/component/menuContent/dataSetting/index.js b/src/component/menuContent/dataSetting/index.js index a763a843..9990530d 100644 --- a/src/component/menuContent/dataSetting/index.js +++ b/src/component/menuContent/dataSetting/index.js @@ -28,7 +28,7 @@ dataSetting.restore = (parent) => { dataSetting.control.restore.restoreElement = new Control_inputButton({ id: 'restore-data', type: 'file', - inputHide: true, + buttonHideInput: true, labelText: message.get('menuContentDataRestoreFile'), inputButtonStyle: ['line'], action: () => {