1 write to Input
Aspire.Dashboard (1)
Model\Interaction\InputViewModel.cs (1)
40
Input
= input;
41 references to Input
Aspire.Dashboard (41)
Components\Dialogs\InteractionsInputDialog.razor.cs (6)
138
_validationMessages.Add(field, $"{inputModel.
Input
.Label} is required.");
153
_validationMessages.Add(field, $"{inputModel.
Input
.Label} is required.");
156
if (inputModel.
Input
.UpdateStateOnChange)
167
var fieldName = inputModel.
Input
.InputType switch
178
return inputModel.
Input
.Required &&
179
inputModel.
Input
.InputType != InputType.Boolean &&
Components_Controls_InteractionInputField_razor.g.cs (6)
227
var descriptionId = !string.IsNullOrEmpty(InputViewModel.
Input
.Description)
264
InputViewModel.
Input
.Label
281
InputViewModel.
Input
.Description
298
InputViewModel.
Input
.Required
326
if (InputViewModel.
Input
.Loading)
365
__builder.AddContent(13, GetDescriptionContent(InputViewModel.
Input
, descriptionId)
Components_Dialogs_InteractionsInputDialog_razor.g.cs (18)
467
switch (vm.
Input
.InputType)
540
input.ViewModel.
Input
.Placeholder
557
input.ViewModel.
Input
.Required
617
InteractionHelpers.GetMaxLength(input.ViewModel.
Input
.MaxLength)
731
input.ViewModel.
Input
.Placeholder
748
input.ViewModel.
Input
.Required
834
InteractionHelpers.GetMaxLength(input.ViewModel.
Input
.MaxLength)
1024
if (!localItem.
Input
.AllowCustomChoice)
1051
input.ViewModel.
Input
.Placeholder
1068
input.ViewModel.
Input
.Required
1255
input.ViewModel.
Input
.Placeholder
1272
input.ViewModel.
Input
.Required
1587
input.ViewModel.
Input
.Label
1604
input.ViewModel.
Input
.Placeholder
1621
input.ViewModel.
Input
.Description
1769
input.ViewModel.
Input
.Placeholder
1786
input.ViewModel.
Input
.Description
1803
input.ViewModel.
Input
.Required
Model\Interaction\InputViewModel.cs (11)
21
if (
Input
== null)
29
if (
Input
.Loading && !input.Loading)
35
value =
Input
.Value;
82
get =>
Input
.Value;
83
set =>
Input
.Value = value;
89
get => bool.TryParse(
Input
.Value, out var result) && result;
90
set =>
Input
.Value = value ? "true" : "false";
96
get => int.TryParse(
Input
.Value, CultureInfo.InvariantCulture, out var result) ? result : null;
97
set =>
Input
.Value = value?.ToString(CultureInfo.InvariantCulture) ?? string.Empty;
100
public bool InputDisabled =>
Input
.Disabled ||
Input
.Loading;