Skip to content

Commit a5863a1

Browse files
Fixed issue with enum selection component not updating for 'other' values (#359)
1 parent 0c81f90 commit a5863a1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/MindWork AI Studio/Components/EnumSelection.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
</MudSelect>
1313
@if (this.AllowOther && this.Value.Equals(this.OtherValue))
1414
{
15-
<MudTextField T="string" Text="@this.OtherInput" TextChanged="this.OtherInputChanged" Validation="@this.ValidateOther" Label="@this.LabelOther" Variant="Variant.Outlined" Margin="Margin.Dense" UserAttributes="@USER_INPUT_ATTRIBUTES" Immediate="@true"/>
15+
<MudTextField T="string" Text="@this.OtherInput" TextChanged="this.OtherValueChanged" Validation="@this.ValidateOther" Label="@this.LabelOther" Variant="Variant.Outlined" Margin="Margin.Dense" UserAttributes="@USER_INPUT_ATTRIBUTES" Immediate="@true"/>
1616
}
1717
</MudStack>

app/MindWork AI Studio/wwwroot/changelog/v0.9.37.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
- Improved the data source selection behavior when no data source is available or selected, for whatever reason.
44
- Moved the data source settings into the data selection component.
55
- Fixed the "send to" menu position, which was offset due to the MudBlazor 8 upgrade.
6+
- Fixed a rare issue with the enum selection component, where the `SelectionUpdated` function was not called for the special `other` enum values.
67
- Removed the link to the ERI server assistant from its settings page, as it is no longer necessary.

0 commit comments

Comments
 (0)