7837-testToMaster_2432 #592

Merged
alexm merged 165 commits from 7837-testToMaster_2432 into master 2024-08-06 05:54:11 +00:00
1 changed files with 11 additions and 1 deletions
Showing only changes of commit 74c36a28b2 - Show all commits

View File

@ -85,6 +85,15 @@ function handleLocation(data, location) {
data.provinceFk = provinceFk;
data.countryFk = countryFk;
}
function uppercaseStreetModel(data) {
return {
get: () => (data.street ? data.street.toUpperCase() : ''),
set: (value) => {
data.street = value.toUpperCase();
},
};
}
</script>
<template>
<VnSearchbar
@ -215,7 +224,8 @@ function handleLocation(data, location) {
<VnRow>
<VnInput
:label="t('worker.create.street')"
v-model="data.street"
:model-value="uppercaseStreetModel(data).get()"
@update:model-value="uppercaseStreetModel(data).set"
:disable="data.isFreelance"
/>
</VnRow>