1 write to _isDisabled
Microsoft.AspNetCore.Components.AI (1)
Components\MessageInput.cs (1)
68
_isDisabled
= status is ConversationStatus.Streaming or ConversationStatus.AwaitingInput;
4 references to _isDisabled
Microsoft.AspNetCore.Components.AI (4)
Components\MessageInput.cs (4)
94
builder.AddAttribute(13, "disabled",
_isDisabled
);
123
builder.AddAttribute(53, "disabled",
_isDisabled
);
141
if (e.Key == "Enter" && !e.ShiftKey && !
_isDisabled
)
149
if (
_isDisabled
|| string.IsNullOrWhiteSpace(_text))