* {tag: "input", type: "checkbox", autocomplete: "off"})
*/
// defaultAutoCreate : { tag: 'div' },
- defaultAutoCreate : { tag: 'input', type: 'hidden', autocomplete: 'off'},
+ defaultAutoCreate : { tag: 'input', type: 'hidden', autocomplete: 'new-password'},
/**
* @cfg {String} addTitle Text to include for adding a title.
*/
ds.loadData( data);
}
// clear selection so it does not get stale.
- this.grid.sm.clearSelections();
+ if (this.grid.sm) {
+ this.grid.sm.clearSelections();
+ }
Roo.form.GridField.superclass.setValue.call(this, v);
this.refreshValue();