mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-29 04:39:15 +00:00
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:
parent
4f0b8a1a72
commit
85d85d151c
@ -74,6 +74,7 @@ Ext.define('Proxmox.grid.ObjectGrid', {
|
|||||||
emptyText: opts.defaultValue,
|
emptyText: opts.defaultValue,
|
||||||
labelWidth: Proxmox.Utils.compute_min_label_width(
|
labelWidth: Proxmox.Utils.compute_min_label_width(
|
||||||
text, opts.labelWidth),
|
text, opts.labelWidth),
|
||||||
|
vtype: opts.vtype,
|
||||||
fieldLabel: text
|
fieldLabel: text
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user