rethinking the arch...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-03-16 23:49:19 +03:00
parent 6a59eae3d7
commit 20bb124696

View File

@ -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