Skip to content

fix: FluentButton doesn't support Appearance.Filled in templates #2429

@antonKrizmanic

Description

@antonKrizmanic

🐛 Bug Report

After creating new project from Microsoft.FluentUI.AspNetCore.Templates package there are few places where FluentButton is used with Appearance set to Filled which is not supported at the moment

💻 Repro or Code Sample

After creating project from template look for:

  • ResetAuthenticator.razor
  • GenerateRecoveryCodes.razor

🤔 Expected Behavior

Page renders normally

😯 Current Behavior

Page crashes with message that Filled is not supported for FluentButton at the moment

💁 Possible Solution

Change Filled to Accent or any other supported value.
Did a quick search if there is more places where this is used, but found only this
image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions