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)
131
_validationMessages.Add(field, $"{inputModel.
Input
.Label} is required.");
146
_validationMessages.Add(field, $"{inputModel.
Input
.Label} is required.");
149
if (inputModel.
Input
.UpdateStateOnChange)
160
var fieldName = inputModel.
Input
.InputType switch
171
return inputModel.
Input
.Required &&
172
inputModel.
Input
.InputType != InputType.Boolean &&
Components_Controls_InteractionInputField_razor.g.cs (6)
197
var descriptionId = !string.IsNullOrEmpty(InputViewModel.
Input
.Description)
234
InputViewModel.
Input
.Label
251
InputViewModel.
Input
.Description
268
InputViewModel.
Input
.Required
296
if (InputViewModel.
Input
.Loading)
326
__builder.AddContent(12, GetDescriptionContent(InputViewModel.
Input
, descriptionId)
Components_Dialogs_InteractionsInputDialog_razor.g.cs (18)
461
switch (vm.
Input
.InputType)
534
input.ViewModel.
Input
.Placeholder
551
input.ViewModel.
Input
.Required
611
InteractionHelpers.GetMaxLength(input.ViewModel.
Input
.MaxLength)
725
input.ViewModel.
Input
.Placeholder
742
input.ViewModel.
Input
.Required
828
InteractionHelpers.GetMaxLength(input.ViewModel.
Input
.MaxLength)
940
if (!localItem.
Input
.AllowCustomChoice)
967
input.ViewModel.
Input
.Placeholder
984
input.ViewModel.
Input
.Required
1171
input.ViewModel.
Input
.Placeholder
1188
input.ViewModel.
Input
.Required
1503
input.ViewModel.
Input
.Label
1520
input.ViewModel.
Input
.Placeholder
1537
input.ViewModel.
Input
.Description
1685
input.ViewModel.
Input
.Placeholder
1702
input.ViewModel.
Input
.Description
1719
input.ViewModel.
Input
.Required
Model\Interaction\InputViewModel.cs (11)
21
if (
Input
== null)
29
if (
Input
.Loading && !input.Loading)
35
value =
Input
.Value;
72
get =>
Input
.Value;
73
set =>
Input
.Value = value;
79
get => bool.TryParse(
Input
.Value, out var result) && result;
80
set =>
Input
.Value = value ? "true" : "false";
86
get => int.TryParse(
Input
.Value, CultureInfo.InvariantCulture, out var result) ? result : null;
87
set =>
Input
.Value = value?.ToString(CultureInfo.InvariantCulture) ?? string.Empty;
90
public bool InputDisabled =>
Input
.Disabled ||
Input
.Loading;