Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
Update LocationFormGroup.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jochen-Sch committed May 11, 2020
1 parent 8d1311c commit c41769d
Showing 1 changed file with 26 additions and 10 deletions.
36 changes: 26 additions & 10 deletions client/src/components/LocationFormGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
ref="street"
class="custom-input"
style="width: calc(100%);"
placeholder="Straße"
placeholder="Straße und Hausnummer"
v-decorator="[keys.street, {
rules: [{
required: $props.required!==false,
Expand Down Expand Up @@ -63,15 +63,31 @@
<a-row>
<a-col :lg="12" :sm="24">
<a-form-item label="Land">
<a-input
ref="country"
class="custom-input"
v-decorator="[keys.country, {
rules: [
{ required: $props.required!==false, message: 'Bitte Land eingeben' }
],
initialValue: initialData('country'),
}]" />
<a-select
placeholder="Bitte wählen..."
v-decorator="['keys.country', { rules: [{
required: true,
message: 'Bitte Land auswählen',
}], initialValue: 'DE'}]"
>
<a-select-option value="BE">Belgien</a-select-option>
<a-select-option value="DK">Dänemark</a-select-option>
<a-select-option value="DE">Deutschland</a-select-option>
<a-select-option value="FR">Frankreich</a-select-option>
<a-select-option value="GR">Griechenland</a-select-option>
<a-select-option value="UK">Großbritannien</a-select-option>
<a-select-option value="IT">Italien</a-select-option>
<a-select-option value="LU">Luxemburg</a-select-option>
<a-select-option value="NL">Niederlande</a-select-option>
<a-select-option value="AT">Österreich</a-select-option>
<a-select-option value="PL">Polen</a-select-option>
<a-select-option value="PT">Portugal</a-select-option>
<a-select-option value="RU">Russland</a-select-option>
<a-select-option value="CH">Schweiz</a-select-option>
<a-select-option value="ES">Spanien</a-select-option>
<a-select-option value="CZ">Tschechien</a-select-option>
<a-select-option value="TR">Türkei</a-select-option>
</a-select>
</a-form-item>
</a-col>
</a-row>
Expand Down

0 comments on commit c41769d

Please sign in to comment.