Skip to content

Commit

Permalink
Merge pull request #294 from qor5/feat-ui-reborn
Browse files Browse the repository at this point in the history
Feat UI reborn
  • Loading branch information
danni-cool authored Sep 23, 2024
2 parents f079f9f + 0a42390 commit c8a8ce3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ui/vuetifyx/vuetifyxjs/dist/vuetifyx.min.js

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions ui/vuetifyx/vuetifyxjs/src/lib/SendVariables.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@ import { ref } from 'vue'
const vnode = ref()
const tagInputsFocus = (v: any) => {
vnode.value = v.$.ctx
vnode.value = v
}
const addTags = (tag: any) => {
if (!vnode.value) {
return
}
const $el = vnode.value.$el
let lazyValue = vnode.value.modelValue
let selectionStart = vnode.value.selectionStart
let selectionEnd = vnode.value.selectionEnd
const inputFiled = vnode.value.$el.querySelector('input') || vnode.value.$el.querySelector('textarea')
const inputFiled = $el.querySelector('input') || vnode.value.$el.querySelector('textarea')
if (inputFiled) {
selectionStart = inputFiled.selectionStart
selectionEnd = inputFiled.selectionEnd
Expand Down

0 comments on commit c8a8ce3

Please sign in to comment.