@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.
Yes I did. Also your codepen works even if test() methos is not called.
Using Q-Form, does not post to the asp.net controller. while native form posts, but only visible tab inputs are posted.
I added keep-alive but it seems does not work in asp.net. Only visible inputs are posted.
Any clue?
Many thanks. Will try on asp.net controller and check if values are submitted.
“Wrap them in a parent qform or a form”, I did it. but doesn’t work
“prolly” ? what you mean?
Having two tabs. Each tab gots input fields to be posted using a form.
Modify first tab input fields, then modify second tab input fields.
Posting the form, only the second tab fields are posted. The first tab fields are not.
How to post them all?
I would like to avoid knob drag from max value to min value. I mean stop drag value when max is reached.
Currently if I drag, clockwise, very next to max, knob restart from 0. I’d like to stop it at max.
In the same way if I drag, anticlockwise, very next to min, knob restart from max. I’d like to stop it at min.
I trid to use@drag-value with no success.
codepen
Any ideas? Thank you
Is it possible to use Q-Item as "old-style"menu with url links?
Which property can be set as menuItem.Url?
<q-list v-for="(menuItem, index) in menuList" :key=“index”> <q-item clickable :active=“menuItem.label === ‘Outbox’” v-ripple> <q-item-section avatar> <q-icon :name=“menuItem.icon” /> </q-item-section> <q-item-section> {{ menuItem.label }} </q-item-section> </q-item> </q-list>
Hello,
Toogle and Select component do not render name in input tag bat in superior div tag.
How to force rendering name to input tag?
Hello, did anybody succeededin using radio component in Asp net core?
When I post the form radio input, it is not present in form collection on server side.
Thank you