Skip to content

Commit

Permalink
fix dropdown button null value enum bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yagizhanNY committed Oct 5, 2023
1 parent 8c5e6f8 commit 1df6c66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@attributes="UserAttributes"
label="@Label"
variant="@(EnumParser<ButtonVariant>.ParseEnumToString(Variant))"
placement="@(EnumParser<DropdownButtonPlacement>.ParseEnumToString(Placement)?.Replace('_', '-'))"
placement="@((Placement != null) ? EnumParser<DropdownButtonPlacement>.ParseEnumToString(Placement)?.Replace('_', '-') : "")"
icon="@Icon"
disabled="@Disabled"
ghost="@Ghost"
Expand Down

0 comments on commit 1df6c66

Please sign in to comment.