fix: q-select autocomplete off

This commit is contained in:
puriphatt 2024-11-12 15:57:41 +07:00
parent 42e2f2b21d
commit 64fc8522af
3 changed files with 12 additions and 2 deletions

View file

@ -128,6 +128,7 @@ watch(
:disable="isRoleInclude(['branch_manager']) && !readonly"
v-model="hqId"
for="select-hq-id"
autocomplete="off"
input-debounce="0"
option-label="label"
option-value="value"
@ -168,6 +169,7 @@ watch(
hide-selected
hide-bottom-space
for="select-br-id"
autocomplete="off"
input-debounce="0"
option-label="label"
option-value="value"
@ -226,6 +228,7 @@ watch(
option-value="value"
option-label="label"
for="select-user-type"
autocomplete="off"
:dense="dense"
:readonly="readonly"
:hide-dropdown-icon="readonly"
@ -259,6 +262,7 @@ watch(
hide-bottom-space
class="col"
input-debounce="0"
autocomplete="off"
option-label="label"
option-value="value"
for="select-user-role"

View file

@ -55,7 +55,7 @@ let nationalityFilter: (
function matPreFixName() {
if (gender.value === 'male') prefixName.value = 'mr';
if(gender.value === 'female') prefixName.value = 'mrs';
if (gender.value === 'female') prefixName.value = 'mrs';
}
onMounted(() => {
@ -162,6 +162,7 @@ watch(
option-label="label"
option-value="value"
hide-dropdown-icon
autocomplete="off"
class="col-md-1 col-6"
:dense="dense"
:readonly="readonly"
@ -364,6 +365,7 @@ watch(
input-debounce="0"
option-label="label"
option-value="value"
autocomplete="off"
class="col-md-2 col-6"
:dense="dense"
:readonly="readonly"
@ -450,6 +452,7 @@ watch(
emit-value
map-options
hide-selected
autocomplete="off"
hide-bottom-space
input-debounce="0"
option-label="label"
@ -483,6 +486,7 @@ watch(
map-options
hide-selected
hide-bottom-space
autocomplete="off"
input-debounce="0"
option-label="label"
option-value="value"
@ -507,4 +511,4 @@ watch(
</q-select>
</div>
</div>
</template
</template>

View file

@ -92,6 +92,7 @@ watch(
hide-selected
hide-bottom-space
input-debounce="0"
autocomplete="off"
:disable="!readonly && disableCode"
class="col-md-3 col-12"
v-model="code"
@ -161,6 +162,7 @@ watch(
map-options
hide-selected
hide-bottom-space
autocomplete="off"
input-debounce="0"
class="col-md-3 col-6"
v-model="expenseType"