#7679 Improve NewPostCodeForm #787
|
@ -135,14 +135,14 @@ async function handleCountries(data) {
|
|||
ref="provincesFetchDataRef"
|
||||
@on-fetch="handleProvinces"
|
||||
:sort-by="['name ASC']"
|
||||
:limit="100"
|
||||
:limit="30"
|
||||
|
||||
auto-load
|
||||
url="Provinces/location"
|
||||
/>
|
||||
<FetchData
|
||||
ref="townsFetchDataRef"
|
||||
:sort-by="['name ASC']"
|
||||
:limit="100"
|
||||
:limit="30"
|
||||
@on-fetch="handleTowns"
|
||||
auto-load
|
||||
url="Towns/location"
|
||||
|
@ -150,7 +150,7 @@ async function handleCountries(data) {
|
|||
<FetchData
|
||||
@on-fetch="handleCountries"
|
||||
:sort-by="['name ASC']"
|
||||
:limit="100"
|
||||
:limit="30"
|
||||
auto-load
|
||||
url="Countries"
|
||||
/>
|
||||
|
|
|
@ -47,7 +47,7 @@ const onDataSaved = (dataSaved, requestResponse) => {
|
|||
}"
|
||||
url="Autonomies/location"
|
||||
:sort-by="['name ASC']"
|
||||
:limit="100"
|
||||
:limit="30"
|
||||
/>
|
||||
<FormModelPopup
|
||||
:title="t('New province')"
|
||||
|
|
Loading…
Reference in New Issue
Esto va a hacer que solo cargue 30 provincias, fetchdata no pagina
Correcto, el motivo del limit es que hay mas de 1000 poblaciones y provincias, por tanto no carga correctamente los desplegables.
Otro motivo, es que los usuarios no suelen buscan entre los elementos de la lista ya que escriben las primeras letras de su criterio de búsqueda