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.tabIndex = 0;
|
||||||
|
|
||||||
element.addEventListener('focus', () => {
|
element.addEventListener('focus', () => {
|
||||||
if (this.field || this.disabled) {
|
if (this.field || this.disabled) return;
|
||||||
console.log(element.style.cursor);
|
|
||||||
// element.style.cursor = 'none!important';
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$transclude((tClone, tScope) => {
|
$transclude((tClone, tScope) => {
|
||||||
this.field = tClone;
|
this.field = tClone;
|
||||||
this.tScope = tScope;
|
this.tScope = tScope;
|
||||||
|
|
Loading…
Reference in New Issue