looking for a bug in .makeEditable(..)

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-02-01 21:11:51 +03:00
parent 3aa987d3d3
commit 91c7334a14
2 changed files with 9 additions and 1 deletions

View File

@ -1635,6 +1635,14 @@ var WidgetTestActions = actions.Actions({
make.EditableList(['x', 'y', 'z'])
make.Separator()
// BUG: this does not respond well to clicks...
make.Editable('action + clear', {
//start_on: 'select',
clear_on_edit: true,
})
// NOTE: the dialog's .parent is not yet set at this point...

View File

@ -754,7 +754,7 @@ function(list, options){
&& res.on('open', function(){ options.itemopen(dialog.selected) })
res = res.toArray()
// new button...
if(options.new_item !== false){
var new_item = options.new_item || true