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)
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 &&
Components_Controls_InteractionInputField_razor.g.cs (6)
227var descriptionId = !string.IsNullOrEmpty(InputViewModel.Input.Description) 264InputViewModel.Input.Label 281InputViewModel.Input.Description 298InputViewModel.Input.Required 326if (InputViewModel.Input.Loading) 365__builder.AddContent(13, GetDescriptionContent(InputViewModel.Input, descriptionId)
Components_Dialogs_InteractionsInputDialog_razor.g.cs (18)
467switch (vm.Input.InputType) 540input.ViewModel.Input.Placeholder 557input.ViewModel.Input.Required 617InteractionHelpers.GetMaxLength(input.ViewModel.Input.MaxLength) 731input.ViewModel.Input.Placeholder 748input.ViewModel.Input.Required 834InteractionHelpers.GetMaxLength(input.ViewModel.Input.MaxLength) 1024if (!localItem.Input.AllowCustomChoice) 1051input.ViewModel.Input.Placeholder 1068input.ViewModel.Input.Required 1255input.ViewModel.Input.Placeholder 1272input.ViewModel.Input.Required 1587input.ViewModel.Input.Label 1604input.ViewModel.Input.Placeholder 1621input.ViewModel.Input.Description 1769input.ViewModel.Input.Placeholder 1786input.ViewModel.Input.Description 1803input.ViewModel.Input.Required
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;