@s-molinari in yours codeplen:
const buttons = [
{
id: 1,
color: 'primary'
},
These are not q-btn properties like:
<q-btn name="btnname", label="btnlabel"
>
@s-molinari in yours codeplen:
const buttons = [
{
id: 1,
color: 'primary'
},
These are not q-btn properties like:
<q-btn name="btnname", label="btnlabel"
>
@s-molinari Nice, but in this case I have to create my custom properties. How to get natives ones like ‘name’ ?
@s-molinari I need to know the name property of the button has been pressed
@metalsadman I did it with no success
@s-molinari to get a property from the q-btn (i.e. name), or any way to get it
I have a BTN like:
<q-btn round dense flat icon="send" name="changepassword" @@click="changePassword">
And the method changePassword:
changePassword(evt) {
let clickedButton= evt.name
},
How to get name property (or whatever) form evt?
I have a QSelect whose model and options depend on a dynamic property:
<q-item-section>
<template v-if="property.AvailableValues.length > 0">
<q-select dense
v-model="property.Value"
label="test"
:options="property.AvailableValues"
option-value="Value"
option-label="Text"
options-dense
map-options
emit-value
use-input
input-debounce="0"
@@filter="filterAvailableValues"
@@new-value="createContentPropertyValue">
</q-select>
</template>
<template v-else>
<q-input dense v-model="property.Value" label="Property string Value"></q-input>
</template>
</q-item-section>
Using text box, I want to add new value if not present into the “property.AvailableValues”. To do this I have to use the event @@new-value, and push the new value into options array/list.
But how can I do that, since options list (property.AvailableValues) is dynamic (i.e. not present in vue data)?
Is there a way to extend quasar UMD using components (from) without recompile it? If yes is there an exmaple?
https://github.com/quasarframework/quasar/issues/7147
They say that unvisible tabs are not rendered into the DOM, so they will never be posted.