|
@@ -1,6 +1,6 @@
|
|
|
import _ from 'lodash'
|
|
|
-import {baseConfig} from "../base";
|
|
|
-import {text} from "../../Defaults";
|
|
|
+import {baseConfig} from "../base"
|
|
|
+import {text} from "../../Defaults"
|
|
|
import {
|
|
|
PropertyDescriptionTable,
|
|
|
YvBase,
|
|
@@ -12,8 +12,9 @@ import {
|
|
|
metaId,
|
|
|
width,
|
|
|
height
|
|
|
-} from "../../PropertyDescriptionTable";
|
|
|
-import {PropertyDescription} from "../../PropertyDescription";
|
|
|
+} from "../../PropertyDescriptionTable"
|
|
|
+import $ from 'jquery'
|
|
|
+import {PropertyDescription} from "../../PropertyDescription"
|
|
|
|
|
|
export default function () {
|
|
|
|
|
@@ -79,7 +80,12 @@ export default function () {
|
|
|
}
|
|
|
},
|
|
|
afterrender(sender) {
|
|
|
- sender.inputEl.dom.setAttribute('spellcheck', "false");
|
|
|
+ if(sender.inputEl?.dom) {
|
|
|
+ sender.inputEl.dom.setAttribute('spellcheck', "false");
|
|
|
+ $(sender.inputEl.dom).on('click', (e)=>{
|
|
|
+ sender.fireEvent('click', this, e)
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
|