michoel
12/14/2017, 4:11 AMform.addField, so that instead of having to do
var field = form.addField({
id: 'item',
type: ui.FieldType.TEXT,
label: 'Item',
});
field.isMandatory = true;
field.defaultValue = 'Hello World';
field.updateDisplaySize({
height : 60,
width : 100,
});
you could do
form.addField({
id: 'item',
type: ui.FieldType.TEXT,
label: 'Item',
isMandatory = true,
defaultValue = 'Hello World',
height : 60,
width : 100,
});