obsidian-database-plugin icon indicating copy to clipboard operation
obsidian-database-plugin copied to clipboard

Unable to click the dropdown

Open ooker777 opened this issue 3 years ago • 8 comments

I use the exact example, but I'm unable to click the dropdowns of both the Brand and the Accessories fields. Am I doing wrong or something?

image

ooker777 avatar May 16 '22 16:05 ooker777

Which version do you use?

tomaszkiewicz avatar May 16 '22 18:05 tomaszkiewicz

Obsidian 0.14.6, Database 1.5.0. There are only this plugin and BRAT activated. Here is the error in the console:

VM253:421 [Vue warn]: Error in render: "TypeError: item2.join is not a function"

found in

---> <VCombobox>
       <VSimpleTable>
         <VData>
           <VDataTable>
             <VApp>
               <Table> at src/components/Table.vue
                 <Root>
warn @ VM253:421
VM253:1262 TypeError: item2.join is not a function
    at fn (eval at <anonymous> (app.js:1), <anonymous>:17553:42)
    at Object.normalized [as selection] (eval at <anonymous> (app.js:1), <anonymous>:1745:37)
    at VueComponent.genSlotSelection (eval at <anonymous> (app.js:1), <anonymous>:14081:32)
    at VueComponent.genSelections (eval at <anonymous> (app.js:1), <anonymous>:14074:28)
    at VueComponent.genSelections (eval at <anonymous> (app.js:1), <anonymous>:14561:92)
    at VueComponent.genDefaultSlot (eval at <anonymous> (app.js:1), <anonymous>:13958:31)
    at VueComponent.genInputSlot (eval at <anonymous> (app.js:1), <anonymous>:12831:17)
    at VueComponent.genInputSlot (eval at <anonymous> (app.js:1), <anonymous>:13436:66)
    at VueComponent.genInputSlot (eval at <anonymous> (app.js:1), <anonymous>:14017:71)
    at VueComponent.genInputSlot (eval at <anonymous> (app.js:1), <anonymous>:14556:65)
logError @ VM253:1262
VM253:421 [Vue warn]: Error in mounted hook: "TypeError: Failed to execute 'observe' on 'IntersectionObserver': parameter 1 is not of type 'Element'."

found in

---> <VCombobox>
       <VSimpleTable>
         <VData>
           <VDataTable>
             <VApp>
               <Table> at src/components/Table.vue
                 <Root>
warn @ VM253:421
VM253:1262 TypeError: Failed to execute 'observe' on 'IntersectionObserver': parameter 1 is not of type 'Element'.
    at Object.inserted2 [as inserted] (eval at <anonymous> (app.js:1), <anonymous>:8743:12)
    at VueComponent.mounted (eval at <anonymous> (app.js:1), <anonymous>:12954:25)
    at invokeWithErrorHandling (eval at <anonymous> (app.js:1), <anonymous>:1233:57)
    at callHook (eval at <anonymous> (app.js:1), <anonymous>:2817:7)
    at Object.insert (eval at <anonymous> (app.js:1), <anonymous>:2091:7)
    at invokeInsertHook (eval at <anonymous> (app.js:1), <anonymous>:4334:30)
    at Vue.patch2 [as __patch__] (eval at <anonymous> (app.js:1), <anonymous>:4492:5)
    at Vue2._update (eval at <anonymous> (app.js:1), <anonymous>:2629:19)
    at Vue.updateComponent (eval at <anonymous> (app.js:1), <anonymous>:2714:10)
    at Watcher2.get (eval at <anonymous> (app.js:1), <anonymous>:2968:25)
logError @ VM253:1262
VM253:421 [Vue warn]: Error in render: "TypeError: item2.join is not a function"

found in

---> <VCombobox>
       <VSimpleTable>
         <VData>
           <VDataTable>
             <VApp>
               <Table> at src/components/Table.vue
                 <Root>
warn @ VM253:421
VM253:1262 TypeError: item2.join is not a function
    at fn (eval at <anonymous> (app.js:1), <anonymous>:17553:42)
    at Object.normalized [as selection] (eval at <anonymous> (app.js:1), <anonymous>:1745:37)
    at VueComponent.genSlotSelection (eval at <anonymous> (app.js:1), <anonymous>:14081:32)
    at VueComponent.genSelections (eval at <anonymous> (app.js:1), <anonymous>:14074:28)
    at VueComponent.genSelections (eval at <anonymous> (app.js:1), <anonymous>:14561:92)
    at VueComponent.genDefaultSlot (eval at <anonymous> (app.js:1), <anonymous>:13958:31)
    at VueComponent.genInputSlot (eval at <anonymous> (app.js:1), <anonymous>:12831:17)
    at VueComponent.genInputSlot (eval at <anonymous> (app.js:1), <anonymous>:13436:66)
    at VueComponent.genInputSlot (eval at <anonymous> (app.js:1), <anonymous>:14017:71)
    at VueComponent.genInputSlot (eval at <anonymous> (app.js:1), <anonymous>:14556:65)
logError @ VM253:1262
VM253:421 [Vue warn]: Error in destroyed hook: "TypeError: Failed to execute 'unobserve' on 'IntersectionObserver': parameter 1 is not of type 'Element'."

found in

---> <VCombobox>
       <VSimpleTable>
         <VData>
           <VDataTable>
             <VApp>
               <Table> at src/components/Table.vue
                 <Root>
warn @ VM253:421
VM253:1262 TypeError: Failed to execute 'unobserve' on 'IntersectionObserver': parameter 1 is not of type 'Element'.
    at Object.unbind2 [as unbind] (eval at <anonymous> (app.js:1), <anonymous>:8750:21)
    at VueComponent.destroyed (eval at <anonymous> (app.js:1), <anonymous>:12960:25)
    at invokeWithErrorHandling (eval at <anonymous> (app.js:1), <anonymous>:1233:57)
    at callHook (eval at <anonymous> (app.js:1), <anonymous>:2817:7)
    at VueComponent.Vue2.$destroy (eval at <anonymous> (app.js:1), <anonymous>:2673:5)
    at destroy (eval at <anonymous> (app.js:1), <anonymous>:2105:27)
    at invokeDestroyHook (eval at <anonymous> (app.js:1), <anonymous>:4132:9)
    at invokeDestroyHook (eval at <anonymous> (app.js:1), <anonymous>:4140:9)
    at invokeDestroyHook (eval at <anonymous> (app.js:1), <anonymous>:4140:9)
    at invokeDestroyHook (eval at <anonymous> (app.js:1), <anonymous>:4140:9)
logError @ VM253:1262

ooker777 avatar May 16 '22 18:05 ooker777

Do you have any data in the notes in brands from previous versions?

tomaszkiewicz avatar May 16 '22 18:05 tomaszkiewicz

In the brands folder I have two nodes Audi and Honda. I try having them empty and some rubbish text but it doesn't work in both cases

ooker777 avatar May 16 '22 18:05 ooker777

same issue for me

csss1234 avatar May 21 '22 22:05 csss1234

I have the same issue that link and dropdown field can not be clicked.

附件目录 Z-附件 cdn.jsdelivr.net/npm/[email protected]/es5/tex-svg.js:1 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT VM174:906 附件目录 Z-附件 VM203:1915 TypeError: Cannot read property 'remove' of undefined at FuseSearchIndex.removeFile (eval at (app.js:1), :1910:37) at ObsidianQueryLanguagePlugin.eval (eval at (app.js:1), :27226:37) at step (eval at (app.js:1), :79:23) at Object.eval [as next] (eval at (app.js:1), :60:53) at fulfilled (eval at (app.js:1), :50:58) FuseSearchIndex.removeFile @ VM203:1915 eval @ VM203:27226 step @ VM203:79 eval @ VM203:60 fulfilled @ VM203:50 Promise.then (async) step @ VM203:52 eval @ VM203:53 __awaiter @ VM203:49 ObsidianQueryLanguagePlugin.refreshFile @ VM203:27209 eval @ VM203:27173 e.tryTrigger @ app.js:1 e.trigger @ app.js:1 t.trigger @ app.js:1 t.onChange @ app.js:1 e.trigger @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 e.reconcileFileCreation @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 e.reconcileFileInternal @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 e.reconcileFile @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 e.reconcileInternalFile @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 (anonymous) @ app.js:1 n @ app.js:1 Promise.then (async) e.queue @ app.js:1 e.write @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 t.modify @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 t.save @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 t.setMode @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 t.setState @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 t.setViewState @ app.js:1 eval @ VM112:48 o @ VM112:48 eval @ VM193:74 o @ VM193:23 checkCallback @ app.js:1 Mz @ app.js:1 e.executeCommandById @ app.js:1 eval @ VM193:74 o @ VM193:23 e.onTrigger @ app.js:1 e.handleKey @ app.js:1 e.handleKey @ app.js:1 e.onKeyEvent @ app.js:1 Show 35 more frames VM203:1919 Uncaught (in promise) TypeError: Cannot read property 'add' of undefined at FuseSearchIndex.addFile (eval at (app.js:1), :1919:33) at ObsidianQueryLanguagePlugin.eval (eval at (app.js:1), :27227:37) at step (eval at (app.js:1), :79:23) at Object.eval [as next] (eval at (app.js:1), :60:53) at fulfilled (eval at (app.js:1), :50:58) FuseSearchIndex.addFile @ VM203:1919 eval @ VM203:27227 step @ VM203:79 eval @ VM203:60 fulfilled @ VM203:50 Promise.then (async) step @ VM203:52 eval @ VM203:53 __awaiter @ VM203:49 ObsidianQueryLanguagePlugin.refreshFile @ VM203:27209 eval @ VM203:27173 e.tryTrigger @ app.js:1 e.trigger @ app.js:1 t.trigger @ app.js:1 t.onChange @ app.js:1 e.trigger @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 e.reconcileFileCreation @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 e.reconcileFileInternal @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 e.reconcileFile @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 e.reconcileInternalFile @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 (anonymous) @ app.js:1 n @ app.js:1 Promise.then (async) e.queue @ app.js:1 e.write @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 t.modify @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 t.save @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 t.setMode @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 t.setState @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 t.setViewState @ app.js:1 eval @ VM112:48 o @ VM112:48 eval @ VM193:74 o @ VM193:23 checkCallback @ app.js:1 Mz @ app.js:1 e.executeCommandById @ app.js:1 eval @ VM193:74 o @ VM193:23 e.onTrigger @ app.js:1 e.handleKey @ app.js:1 e.handleKey @ app.js:1 e.onKeyEvent @ app.js:1 Show 35 more frames VM235:17736 updated field model on motorcycles/2.md VM203:1915 TypeError: Cannot read property 'remove' of undefined at FuseSearchIndex.removeFile (eval at (app.js:1), :1910:37) at ObsidianQueryLanguagePlugin.eval (eval at (app.js:1), :27226:37) at step (eval at (app.js:1), :79:23) at Object.eval [as next] (eval at (app.js:1), :60:53) at fulfilled (eval at (app.js:1), :50:58) FuseSearchIndex.removeFile @ VM203:1915 eval @ VM203:27226 step @ VM203:79 eval @ VM203:60 fulfilled @ VM203:50 Promise.then (async) step @ VM203:52 eval @ VM203:53 __awaiter @ VM203:49 ObsidianQueryLanguagePlugin.refreshFile @ VM203:27209 eval @ VM203:27173 e.tryTrigger @ app.js:1 e.trigger @ app.js:1 t.trigger @ app.js:1 t.onChange @ app.js:1 e.trigger @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 e.reconcileFileCreation @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 e.reconcileFileInternal @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 e.reconcileFile @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 e.reconcileInternalFile @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 (anonymous) @ app.js:1 n @ app.js:1 Promise.then (async) e.queue @ app.js:1 e.write @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 t.modify @ app.js:1 eval @ VM235:18192 fulfilled @ VM235:62 Promise.then (async) step @ VM235:74 eval @ VM235:75 __async @ VM235:59 setData @ VM235:18175 eval @ VM235:17737 eval @ VM235:75 __async @ VM235:59 fieldUpdated @ VM235:17735 field.type.field.type.field.type.field.type.field.type.field.type.field.type.field.type.field.type.field.type._c.on.change @ VM235:17931 invokeWithErrorHandling @ VM235:1233 invoker @ VM235:1471 original._wrapper @ VM235:4721 VM203:1919 Uncaught (in promise) TypeError: Cannot read property 'add' of undefined at FuseSearchIndex.addFile (eval at (app.js:1), :1919:33) at ObsidianQueryLanguagePlugin.eval (eval at (app.js:1), :27227:37) at step (eval at (app.js:1), :79:23) at Object.eval [as next] (eval at (app.js:1), :60:53) at fulfilled (eval at (app.js:1), :50:58) FuseSearchIndex.addFile @ VM203:1919 eval @ VM203:27227 step @ VM203:79 eval @ VM203:60 fulfilled @ VM203:50 Promise.then (async) step @ VM203:52 eval @ VM203:53 __awaiter @ VM203:49 ObsidianQueryLanguagePlugin.refreshFile @ VM203:27209 eval @ VM203:27173 e.tryTrigger @ app.js:1 e.trigger @ app.js:1 t.trigger @ app.js:1 t.onChange @ app.js:1 e.trigger @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 e.reconcileFileCreation @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 e.reconcileFileInternal @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 e.reconcileFile @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 e.reconcileInternalFile @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 s @ app.js:1 Promise.then (async) l @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 (anonymous) @ app.js:1 n @ app.js:1 Promise.then (async) e.queue @ app.js:1 e.write @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 (anonymous) @ app.js:1 T @ app.js:1 t.modify @ app.js:1 eval @ VM235:18192 fulfilled @ VM235:62 Promise.then (async) step @ VM235:74 eval @ VM235:75 __async @ VM235:59 setData @ VM235:18175 eval @ VM235:17737 eval @ VM235:75 __async @ VM235:59 fieldUpdated @ VM235:17735 field.type.field.type.field.type.field.type.field.type.field.type.field.type.field.type.field.type.field.type._c.on.change @ VM235:17931 invokeWithErrorHandling @ VM235:1233 invoker @ VM235:1471 original._wrapper @ VM235:4721

Rightone1117 avatar May 26 '22 01:05 Rightone1117

Please check if the error still exists in 1.8.0 (released today), I fixed some issues related to dropdowns that happened when you cleared the field.

tomaszkiewicz avatar Jun 11 '22 07:06 tomaszkiewicz

Dropboxes don't work at all. Everything else is working.

Obsidian 0.15.9, Database 1.8.0.

Pazukulele avatar Aug 08 '22 06:08 Pazukulele