WIP: #7283 item_missing_e2e #1029

Draft
jsegarra wants to merge 190 commits from 7283_item_missing_e2e into dev
3 changed files with 4 additions and 6 deletions
Showing only changes of commit a45c40f796 - Show all commits

View File

@ -44,7 +44,7 @@ const onDataSaved = (...args) => {
<template #form-inputs="{ data, validate }"> <template #form-inputs="{ data, validate }">
<VnRow> <VnRow>
<VnInput <VnInput
:label="t('Names')" :label="t('Name')"
v-model="data.name" v-model="data.name"
:rules="validate('city.name')" :rules="validate('city.name')"
/> />

View File

@ -135,14 +135,14 @@ async function onProvinceCreated(data) {
ref="provincesFetchDataRef" ref="provincesFetchDataRef"
@on-fetch="handleProvinces" @on-fetch="handleProvinces"
:sort-by="['name ASC']" :sort-by="['name ASC']"
:limit="3" :limit="30"
auto-load auto-load
url="Provinces/location" url="Provinces/location"
/> />
<FetchData <FetchData
ref="townsFetchDataRef" ref="townsFetchDataRef"
:sort-by="['name ASC']" :sort-by="['name ASC']"
:limit="3" :limit="30"
:filter="townFilter" :filter="townFilter"
@on-fetch="handleTowns" @on-fetch="handleTowns"
auto-load auto-load
@ -150,7 +150,7 @@ async function onProvinceCreated(data) {
/> />
<FetchData <FetchData
ref="countriesFetchDataRef" ref="countriesFetchDataRef"
:limit="3" :limit="30"
:filter="countryFilter" :filter="countryFilter"
:sort-by="['name ASC']" :sort-by="['name ASC']"
@on-fetch="handleCountries" @on-fetch="handleCountries"

View File

@ -95,8 +95,6 @@ const handleKeydown = (e) => {
if ($props.insertable && e.key.match(/[0-9]/)) { if ($props.insertable && e.key.match(/[0-9]/)) {
handleInsertMode(e); handleInsertMode(e);
} else {
e.preventDefault();
} }
}; };