feat(contacts): Anrede als Dropdown (Herr/Frau/Divers/Dr./Prof.)
editable bleibt aktiv, damit eigene Werte weiterhin moeglich sind. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
848e4b9b0f
commit
50df055794
|
|
@ -175,9 +175,10 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="field-row">
|
<div class="field-row">
|
||||||
<div class="field" style="max-width:120px">
|
<div class="field" style="max-width:140px">
|
||||||
<label>Anrede</label>
|
<label>Anrede</label>
|
||||||
<InputText v-model="contactForm.prefix" />
|
<Select v-model="contactForm.prefix" :options="prefixOptions"
|
||||||
|
editable showClear placeholder="–" />
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label>Vorname</label>
|
<label>Vorname</label>
|
||||||
|
|
@ -409,6 +410,7 @@ const urlTypes = [
|
||||||
{ label: 'Privat', value: 'home' }, { label: 'Geschäftlich', value: 'work' },
|
{ label: 'Privat', value: 'home' }, { label: 'Geschäftlich', value: 'work' },
|
||||||
{ label: 'Sonstige', value: 'other' },
|
{ label: 'Sonstige', value: 'other' },
|
||||||
]
|
]
|
||||||
|
const prefixOptions = ['Herr', 'Frau', 'Divers', 'Dr.', 'Prof.']
|
||||||
|
|
||||||
function emptyContact() {
|
function emptyContact() {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue