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