52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
|
<div class="form-field">
|
||
|
<label>Name:</label>
|
||
|
<div>
|
||
|
<InputText @bind-Value="Address.Name" />
|
||
|
<ValidationMessage For="@(() => Address.Name)" />
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="form-field">
|
||
|
<label>Adresse 1:</label>
|
||
|
<div>
|
||
|
<InputText @bind-Value="Address.Line1" />
|
||
|
<ValidationMessage For="@(() => Address.Line1)" />
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="form-field">
|
||
|
<label>Adresse 2:</label>
|
||
|
<div>
|
||
|
<InputText @bind-Value="Address.Line2" />
|
||
|
<ValidationMessage For="@(() => Address.Line2)" />
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="form-field">
|
||
|
<label>Stadt:</label>
|
||
|
<div>
|
||
|
<InputText @bind-Value="Address.City" />
|
||
|
<ValidationMessage For="@(() => Address.City)" />
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="form-field">
|
||
|
<label>Region:</label>
|
||
|
<div>
|
||
|
<InputText @bind-Value="Address.Region" />
|
||
|
<ValidationMessage For="@(() => Address.Region)" />
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="form-field">
|
||
|
<label>PLZ:</label>
|
||
|
<div>
|
||
|
<InputText @bind-Value="Address.PostalCode" />
|
||
|
<ValidationMessage For="@(() => Address.PostalCode)" />
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
@code {
|
||
|
[Parameter] public Address Address { get; set; }
|
||
|
}
|