data import input hide

This commit is contained in:
zombieFox 2024-07-02 10:32:31 +01:00
parent 50efa844d5
commit 0207b40c01
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ export const Control_inputButton = function({
classList = [], classList = [],
inputButtonClassList = [], inputButtonClassList = [],
type = false, type = false,
inputHide = false, buttonHideInput = false,
labelText = 'Label', labelText = 'Label',
srOnly = false, srOnly = false,
inputButtonStyle = [], inputButtonStyle = [],
@ -75,7 +75,7 @@ export const Control_inputButton = function({
this.button = form.input.inputButton({ this.button = form.input.inputButton({
style: inputButtonStyle, style: inputButtonStyle,
inputHide: inputHide, buttonHideInput: buttonHideInput,
srOnly: srOnly srOnly: srOnly
}); });

View File

@ -28,7 +28,7 @@ dataSetting.restore = (parent) => {
dataSetting.control.restore.restoreElement = new Control_inputButton({ dataSetting.control.restore.restoreElement = new Control_inputButton({
id: 'restore-data', id: 'restore-data',
type: 'file', type: 'file',
inputHide: true, buttonHideInput: true,
labelText: message.get('menuContentDataRestoreFile'), labelText: message.get('menuContentDataRestoreFile'),
inputButtonStyle: ['line'], inputButtonStyle: ['line'],
action: () => { action: () => {