- aggiornamento Cataloghi
- Gestione delle versioni del prodotto ("Nuovi","Usati","Epub", ecc..)
This commit is contained in:
@@ -440,6 +440,8 @@ export default defineComponent({
|
||||
// if (!props.useinput) {
|
||||
if (props.value) {
|
||||
myvalue.value = props.value
|
||||
} else {
|
||||
myvalue.value = ''
|
||||
}
|
||||
// }
|
||||
}
|
||||
@@ -547,9 +549,9 @@ export default defineComponent({
|
||||
function filterFn(val: any, update: any, abort: any) {
|
||||
update(
|
||||
async () => {
|
||||
console.log('Filter val', val, val.length)
|
||||
console.log('Filter val:', val, 'len=', val.length)
|
||||
console.log('props.filter_extra', props.filter_extra)
|
||||
|
||||
console.log('valori.value', valori.value)
|
||||
|
||||
let myarr: any = []
|
||||
|
||||
@@ -743,6 +745,10 @@ export default defineComponent({
|
||||
return ''
|
||||
}
|
||||
|
||||
function selectText(event: any) {
|
||||
// Seleziona tutto il testo all'interno della casella di testo
|
||||
event.target.select();
|
||||
}
|
||||
onMounted(mounted)
|
||||
|
||||
|
||||
@@ -758,6 +764,7 @@ export default defineComponent({
|
||||
newvaluefuncfirst,
|
||||
getIcon,
|
||||
tools,
|
||||
selectText,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -79,6 +79,7 @@
|
||||
</q-select>
|
||||
</div>
|
||||
<div v-else-if="pickup">
|
||||
|
||||
<q-select
|
||||
v-if="pickup"
|
||||
:model-value="myvalue"
|
||||
@@ -95,9 +96,12 @@
|
||||
:option-value="optval"
|
||||
:option-label="optlab"
|
||||
map-options
|
||||
:use-chips="myvalue && myvalue !== '' ? true : false"
|
||||
stack-label
|
||||
:behavior="$q.platform.is.ios === true ? 'dialog' : 'menu'"
|
||||
@filter="filterFn"
|
||||
v-bind="$attrs"
|
||||
|
||||
>
|
||||
<template v-slot:append>
|
||||
<q-icon
|
||||
|
||||
Reference in New Issue
Block a user