Unexpected behaviour found under "v11.1p_2017-07-21/Pro Deployment":
Worked fine under "v11.0p_2016-08-13/Pro Deployment":
Tested under chrome with the following snippet (clean environment, no configuration, no skin)
Worked fine under "v11.0p_2016-08-13/Pro Deployment":
Tested under chrome with the following snippet (clean environment, no configuration, no skin)
Code:
// Unexpected white space in picker when there is only one item... isc.DynamicForm.create({ autoShow : true, numCols : 1, width : 300, fields : [{ type : 'select', name : 'select', showTitle : false, width : 248, defaultValue : 'bar', displayField : 'name', pickListWidth : 520, pickListFields : [ { name : 'code', title : 'Code' }, { name : 'name', title : 'Name' }, { name : 'weight', title : 'Weight' } ], getClientPickListData : function() { return [ { code: 'bar', name : 'Bar', weight : '1kg'} ] } }] }); // Works fine with more than one item isc.DynamicForm.create({ autoShow : true, numCols : 1, top: 100, width : 300, fields : [{ type : 'select', name : 'select', showTitle : false, width : 248, defaultValue : 'bar', displayField : 'name', pickListWidth : 520, pickListFields : [ { name : 'code', title : 'Code' }, { name : 'name', title : 'Name' }, { name : 'weight', title : 'Weight' } ], getClientPickListData : function() { return [ { code: 'foo', name : 'Foo', weight : '2kg'}, { code: 'bar', name : 'Bar', weight : '1kg'} ] } }] });
Comment