mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 08:03:49 +00:00
person: fix adding civility to a person with OnTheFly form
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
<label>{{ $t('person.gender.title') }}</label>
|
||||
</div>
|
||||
|
||||
<div class="form-floating mb-3">
|
||||
<div v-if="action === 'create'" class="form-floating mb-3">
|
||||
<select
|
||||
class="form-select form-select-lg"
|
||||
id="civility"
|
||||
@@ -187,8 +187,8 @@ export default {
|
||||
get() { return this.person.gender; }
|
||||
},
|
||||
civility: {
|
||||
set(value) { this.person.civility = value; },
|
||||
get() { return this.person.civility; }
|
||||
set(value) { this.person.civility = {id: value}; },
|
||||
get() { return this.person.civility ? this.person.civility.id : undefined; }
|
||||
},
|
||||
birthDate: {
|
||||
set(value) {
|
||||
|
Reference in New Issue
Block a user