[pbs-devel] [PATCH proxmox-backup 2/2] ui: tape/TapeBackupJob: use correct default value for pbsUserSelector

Dominik Csapak d.csapak at proxmox.com
Mon Jun 7 15:06:45 CEST 2021


if we want the empty value as a valid default value in a combogrid, we
have to explicitely select 'null' else the field will be marked as
dirty

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/tape/window/TapeBackupJob.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/tape/window/TapeBackupJob.js b/www/tape/window/TapeBackupJob.js
index 4c80e799..c5541d87 100644
--- a/www/tape/window/TapeBackupJob.js
+++ b/www/tape/window/TapeBackupJob.js
@@ -70,6 +70,7 @@ Ext.define('PBS.TapeManagement.BackupJobEdit', {
 		fieldLabel: gettext('Notify User'),
 		emptyText: 'root at pam',
 		allowBlank: true,
+		value: null,
 		renderer: Ext.String.htmlEncode,
 	    },
 	],
-- 
2.20.1






More information about the pbs-devel mailing list