Closed booni3 closed 5 years ago
Hey @booni3 - this is a sorta recent change; you should use v-model
. Let me know if you run into any trouble!
https://github.com/dabernathy89/vue-query-builder/releases/tag/v0.6.0
@dabernathy89 thanks for the quick reply! I was actually using v-model before but then saw the emit event in your code and that it was being used in your example laravel package. Thank you for cleaning this up though - thought I was going mad not being able to catch the update event!
@booni3 I probably forgot to update some of the example code. Can you point me to where that is?
@dabernathy89 sure - its found here:
The rest of the example worked correctly once this was updated.
This is probably more to do with incorrect syntax/code on my side, but I cannot catch the emit event from the component.
Usually I would just do:
To catch the emitted event, but when I update the query and try to catch with
@update:query
nothing happens.Instead I am using v-model on the query builder, which is actually working but I think the intention is to be using the event?
This may be more of a stack overflow issue, but hopefully you are able to help!