From 20bb124696f1a1aa1a5d6645710d925d74570e6d Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 16 Mar 2020 23:49:19 +0300 Subject: [PATCH] rethinking the arch... Signed-off-by: Alex A. Naanou --- ui (gen4)/lib/widget/browse2.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui (gen4)/lib/widget/browse2.js b/ui (gen4)/lib/widget/browse2.js index 851c1b7e..30da16e3 100755 --- a/ui (gen4)/lib/widget/browse2.js +++ b/ui (gen4)/lib/widget/browse2.js @@ -621,6 +621,10 @@ Items.makeSubContext('field', : options.value ], options) }, { + // XXX + Text: function(title, value, options){ + return this.__proto__.Text([title, value], options) }, + // Editable field value... // // NOTE: this is a shorthand to: @@ -628,6 +632,7 @@ Items.makeSubContext('field', Editable: function(title, value, options){ return this.__proto__.Editable([title, value], options) }, + // Togglable field value... // // XXX should we have a version of this with the value in a button