One word: excited!

Posts made by Underzzoo
-
Select content using Touch Directives
Hello everybody.
I was making a module for my application that will work directly with ticket for payments (here, in brazil, we call ‘boleto’).
That is a simply document with a barcode.I was making a screen with only the digitable line, for mobile. But i cannot “select” the content when i use the touch directives.
Someone can help me with another solution, i don’t like to open hand of that functionality because that conflict.
Sorry my english.
Thanks !! -
RE: Future v0.14 Feature List
I’m very excited with this new version, i’m waiting the new stepper and form improvement. But we have a lot of new features that will make quasar a much greater framework. You’re doing a amazing work @rstoenescu .
-
RE: How can I load a component on a modal?
Putting a child component inside the modal tags in the father component ? And you can use a v-if to alternate the children components… make sense ?
-
RE: Pass method ( "this" -> VueJS) to the handler of a "Confirm Dialog".
I’m having a trouble like that.
I’m using data table for create a users list, and for sure, modificate the data in database.I’m implementing the delete function and the code is like that:
deleteRow (selection) { if (selection) { Dialog.create({ title: 'Confirmar Exclusão?', message: 'Os dados excluídos não poderão ser recuperados.', buttons: [ 'Cancelar', { label: 'Excluir', handler () { this.$http.delete(this.$store.state.apiRoutes.users + '/' + selection.rows[0].data._id).then((response) => { if (response.data.ok) { console.log('Usuário excluído!') this.$store.commit('getUserlist') } else { console.log('Deu merda') } }) } } ] }) } }
So, when i confirm the Dialog, he must execute the HANDLER function, and i get this error:
Uncaught TypeError: Cannot read property '$http' of undefined at handler (eval at 174 (0.c9164df….hot-update.js:7), <anonymous>:87:19) at eval (eval at <anonymous> (app.js:789), <anonymous>:682:11) at VueComponent.eval [as __onClose] (eval at <anonymous> (app.js:789), <anonymous>:716:11) at eval (eval at <anonymous> (app.js:789), <anonymous>:5237:19)
To resolve my problem i make a simple step:
deleteRow (selection) { if (selection) { var vm = this Dialog.create({ title: 'Confirmar Exclusão?', message: 'Os dados excluídos não poderão ser recuperados.', buttons: [ 'Cancelar', { label: 'Excluir', handler () { vm.$http.delete(vm.$store.state.apiRoutes.users + '/' + selection.rows[0].data._id).then((response) => { if (response.data.ok) { console.log('Usuário excluído!') vm.$store.commit('getUserlist') } else { console.log('Deu merda') } }) } } ] }) } }
I’m sorry for my english, i’m brazilian.
Thanks.