7806_devToTest_2332 #578

Merged
alexm merged 138 commits from 7806_devToTest_2330 into test 2024-07-30 06:14:02 +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>