added disable property
This commit is contained in:
parent
54a835eefd
commit
007139f2f6
|
@ -11,11 +11,8 @@ export default class Controller extends Component {
|
|||
element.tabIndex = 0;
|
||||
|
||||
element.addEventListener('focus', () => {
|
||||
if (this.field || this.disabled) {
|
||||
console.log(element.style.cursor);
|
||||
// element.style.cursor = 'none!important';
|
||||
return;
|
||||
}
|
||||
if (this.field || this.disabled) return;
|
||||
|
||||
$transclude((tClone, tScope) => {
|
||||
this.field = tClone;
|
||||
this.tScope = tScope;
|
||||
|
|
Loading…
Reference in New Issue