From 85d85d151c3c5c2b445d2d8cca4604cedb40fcba Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 6 Dec 2017 14:37:28 +0100 Subject: [PATCH] ObjectGrid: add_text_row: allow setting vtype for editor Allow setting a validation type for the editors text field Signed-off-by: Thomas Lamprecht --- grid/ObjectGrid.js | 1 + 1 file changed, 1 insertion(+) diff --git a/grid/ObjectGrid.js b/grid/ObjectGrid.js index 97bfc19..5e67374 100644 --- a/grid/ObjectGrid.js +++ b/grid/ObjectGrid.js @@ -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 } } -- 2.39.2