Skip to content

Commit

Permalink
Fix onchange not firing
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamMorrow committed Nov 15, 2024
1 parent 21eb066 commit a5dceb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LiftLog.Ui/Shared/Presentation/SelectField.razor
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

@switch(TextFieldType){
case TextFieldType.Outlined:
<md-outlined-select value=@Value @attributes="AdditionalAttributes">
<md-outlined-select value=@Value @attributes="AdditionalAttributes" @onchange="e=>ValueChanged.InvokeAsync(e.Value)" >

Check failure on line 6 in LiftLog.Ui/Shared/Presentation/SelectField.razor

View workflow job for this annotation

GitHub Actions / build

Argument 1: cannot convert from 'object' to 'T?'

Check failure on line 6 in LiftLog.Ui/Shared/Presentation/SelectField.razor

View workflow job for this annotation

GitHub Actions / build

Argument 1: cannot convert from 'object' to 'T?'

Check failure on line 6 in LiftLog.Ui/Shared/Presentation/SelectField.razor

View workflow job for this annotation

GitHub Actions / build

Argument 1: cannot convert from 'object' to 'T?'

Check failure on line 6 in LiftLog.Ui/Shared/Presentation/SelectField.razor

View workflow job for this annotation

GitHub Actions / test

Argument 1: cannot convert from 'object' to 'T?'

Check failure on line 6 in LiftLog.Ui/Shared/Presentation/SelectField.razor

View workflow job for this annotation

GitHub Actions / test

Argument 1: cannot convert from 'object' to 'T?'

Check failure on line 6 in LiftLog.Ui/Shared/Presentation/SelectField.razor

View workflow job for this annotation

GitHub Actions / test

Argument 1: cannot convert from 'object' to 'T?'
@foreach (var option in Options)
{
<md-select-option value="@option.Value">
Expand All @@ -13,7 +13,7 @@
</md-outlined-select>
break;
case TextFieldType.Filled:
<md-filled-select value=@Value @attributes="AdditionalAttributes" >
<md-filled-select value=@Value @attributes="AdditionalAttributes" @onchange="e=>ValueChanged.InvokeAsync(e.Value)">

Check failure on line 16 in LiftLog.Ui/Shared/Presentation/SelectField.razor

View workflow job for this annotation

GitHub Actions / build

Argument 1: cannot convert from 'object' to 'T?'

Check failure on line 16 in LiftLog.Ui/Shared/Presentation/SelectField.razor

View workflow job for this annotation

GitHub Actions / build

Argument 1: cannot convert from 'object' to 'T?'

Check failure on line 16 in LiftLog.Ui/Shared/Presentation/SelectField.razor

View workflow job for this annotation

GitHub Actions / build

Argument 1: cannot convert from 'object' to 'T?'

Check failure on line 16 in LiftLog.Ui/Shared/Presentation/SelectField.razor

View workflow job for this annotation

GitHub Actions / test

Argument 1: cannot convert from 'object' to 'T?'

Check failure on line 16 in LiftLog.Ui/Shared/Presentation/SelectField.razor

View workflow job for this annotation

GitHub Actions / test

Argument 1: cannot convert from 'object' to 'T?'

Check failure on line 16 in LiftLog.Ui/Shared/Presentation/SelectField.razor

View workflow job for this annotation

GitHub Actions / test

Argument 1: cannot convert from 'object' to 'T?'
@foreach (var option in Options)
{
<md-select-option value="@option.Value">
Expand Down

0 comments on commit a5dceb8

Please sign in to comment.