1 write to Input
Aspire.Dashboard (1)
Model\Interaction\InputViewModel.cs (1)
40Input = input;
17 references to Input
Aspire.Dashboard (17)
Components\Dialogs\InteractionsInputDialog.razor.cs (6)
138_validationMessages.Add(field, $"{inputModel.Input.Label} is required."); 153_validationMessages.Add(field, $"{inputModel.Input.Label} is required."); 156if (inputModel.Input.UpdateStateOnChange) 167var fieldName = inputModel.Input.InputType switch 178return inputModel.Input.Required && 179inputModel.Input.InputType != InputType.Boolean &&
Model\Interaction\InputViewModel.cs (11)
21if (Input == null) 29if (Input.Loading && !input.Loading) 35value = Input.Value; 82get => Input.Value; 83set => Input.Value = value; 89get => bool.TryParse(Input.Value, out var result) && result; 90set => Input.Value = value ? "true" : "false"; 96get => int.TryParse(Input.Value, CultureInfo.InvariantCulture, out var result) ? result : null; 97set => Input.Value = value?.ToString(CultureInfo.InvariantCulture) ?? string.Empty; 100public bool InputDisabled => Input.Disabled || Input.Loading;