On 01/02/2017 02:48 PM, Fabian Grünbichler wrote:
Signed-off-by: Fabian Grünbichler <[email protected]> --- Note: 8k is the implicit default in ZFS, maybe there is a better way to handle this on the GUI?www/manager6/storage/ZFSPoolEdit.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/www/manager6/storage/ZFSPoolEdit.js b/www/manager6/storage/ZFSPoolEdit.js index 01bc4f6..b9f1567 100644 --- a/www/manager6/storage/ZFSPoolEdit.js +++ b/www/manager6/storage/ZFSPoolEdit.js @@ -108,6 +108,13 @@ Ext.define('PVE.storage.ZFSPoolInputPanel', { checked: false, uncheckedValue: 0, fieldLabel: gettext('Thin provision') + }, + { + xtype: 'textfield', + name: 'blocksize', + value: '8k', + fieldLabel: gettext('Block Size'), + allowBlank: true } ];
you could use emptyText: '8k' so it is empty by default, but shows the implicit 8k value _______________________________________________ pve-devel mailing list [email protected] http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
