ObjectGrid: add_text_row: allow setting vtype for editor

Allow setting a validation type for the editors text field

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2017-12-06 14:37:28 +01:00 committed by Dominik Csapak
parent 4f0b8a1a72
commit 85d85d151c

View File

@ -74,6 +74,7 @@ Ext.define('Proxmox.grid.ObjectGrid', {
emptyText: opts.defaultValue,
labelWidth: Proxmox.Utils.compute_min_label_width(
text, opts.labelWidth),
vtype: opts.vtype,
fieldLabel: text
}
}