Skip to content

Commit

Permalink
data import input hide
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieFox committed Jul 2, 2024
1 parent 50efa84 commit 0207b40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/component/control/inputButton/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const Control_inputButton = function({
classList = [],
inputButtonClassList = [],
type = false,
inputHide = false,
buttonHideInput = false,
labelText = 'Label',
srOnly = false,
inputButtonStyle = [],
Expand Down Expand Up @@ -75,7 +75,7 @@ export const Control_inputButton = function({

this.button = form.input.inputButton({
style: inputButtonStyle,
inputHide: inputHide,
buttonHideInput: buttonHideInput,
srOnly: srOnly
});

Expand Down
2 changes: 1 addition & 1 deletion src/component/menuContent/dataSetting/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: () => {
Expand Down

0 comments on commit 0207b40

Please sign in to comment.