Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added serialization value to icon enum properties #12928

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

nkylstad
Copy link
Member

@nkylstad nkylstad commented Jun 6, 2024

Description

Icon property expects a lowercase property. However, the enum for IconType defines the icon types with uppercase. A [EnumMember(value =...)] annotation is needed so that the enum properties serialize with the correct case.

Related Issue(s)

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)

@github-actions github-actions bot added the solution/studio/designer Issues related to the Altinn Studio Designer solution. label Jun 6, 2024
Copy link
Contributor

@standeren standeren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 🎈

@nkylstad nkylstad merged commit 7ff8ad8 into main Jun 6, 2024
10 checks passed
@nkylstad nkylstad deleted the bug(ux-editor)/10486-footer-layout-icon-casing branch June 6, 2024 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solution/studio/designer Issues related to the Altinn Studio Designer solution.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants