0
0
Fork 0

feat: refs #7679 #7679 add sortBy and limit

This commit is contained in:
Javier Segarra 2024-10-01 15:02:42 +02:00
parent ea7c799909
commit 1a697aa018
1 changed files with 11 additions and 1 deletions

View File

@ -125,16 +125,26 @@ async function handleCountries(data) {
<FetchData
ref="provincesFetchDataRef"
@on-fetch="handleProvinces"
:sort-by="['name ASC']"
:limit="100"
auto-load
url="Provinces/location"
/>
<FetchData
ref="townsFetchDataRef"
:sort-by="['name ASC']"
:limit="100"
@on-fetch="handleTowns"
auto-load
url="Towns/location"
/>
<FetchData @on-fetch="handleCountries" auto-load url="Countries" />
<FetchData
@on-fetch="handleCountries"
:sort-by="['name ASC']"
:limit="100"
auto-load
url="Countries"
/>
<FormModelPopup
url-create="postcodes"
model="postcode"