2025-08-09 19:29:43 +02:00
|
|
|
@inherits ConfigurationBaseCore
|
2024-07-28 11:20:00 +02:00
|
|
|
|
2026-08-11 20:14:21 +02:00
|
|
|
@if (this.ResetValue is null)
|
|
|
|
|
{
|
|
|
|
|
<MudTextField
|
|
|
|
|
T="string"
|
|
|
|
|
Text="@this.Text()"
|
|
|
|
|
TextChanged="@this.InternalUpdate"
|
|
|
|
|
Disabled="@this.IsDisabled"
|
2026-10-17 19:12:43 +02:00
|
|
|
Adornment="@this.IconAdornment"
|
2026-08-11 20:14:21 +02:00
|
|
|
AdornmentIcon="@this.Icon"
|
|
|
|
|
AdornmentColor="@this.IconColor"
|
|
|
|
|
UserAttributes="@SPELLCHECK_ATTRIBUTES"
|
|
|
|
|
Lines="@this.NumLines"
|
|
|
|
|
AutoGrow="@this.AutoGrow"
|
|
|
|
|
MaxLines="@this.GetMaxLines"
|
|
|
|
|
Immediate="@true"
|
|
|
|
|
Validation="@this.Validation"
|
|
|
|
|
Underline="false"
|
|
|
|
|
/>
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
2026-10-17 19:12:43 +02:00
|
|
|
@* One element, since a locked option places it next to its lock icon: *@
|
|
|
|
|
<div>
|
2026-08-11 20:14:21 +02:00
|
|
|
<MudTextField
|
|
|
|
|
T="string"
|
|
|
|
|
Text="@this.Text()"
|
|
|
|
|
TextChanged="@this.InternalUpdate"
|
|
|
|
|
Disabled="@this.IsDisabled"
|
2026-10-17 19:12:43 +02:00
|
|
|
Adornment="@this.IconAdornment"
|
2026-08-11 20:14:21 +02:00
|
|
|
AdornmentIcon="@this.Icon"
|
|
|
|
|
AdornmentColor="@this.IconColor"
|
|
|
|
|
UserAttributes="@SPELLCHECK_ATTRIBUTES"
|
|
|
|
|
Lines="@this.NumLines"
|
|
|
|
|
AutoGrow="@this.AutoGrow"
|
|
|
|
|
MaxLines="@this.GetMaxLines"
|
|
|
|
|
Immediate="@true"
|
|
|
|
|
Validation="@this.Validation"
|
|
|
|
|
Underline="false"
|
|
|
|
|
/>
|
2026-10-17 19:12:43 +02:00
|
|
|
<RestoreDefaultButton Text="@this.ResetButtonText" Disabled="@this.IsDisabled" OnClick="@this.ResetTextAsync"/>
|
|
|
|
|
</div>
|
2026-08-11 20:14:21 +02:00
|
|
|
}
|