Skip to content

[Bug Report] MTextField 绑定decimal?可为空的值字段时,step传入decimal常量会报转换错误 #2590

@TAnsz

Description

@TAnsz

Masa.Blazor version

1.11.9

Hosting model

Interactive Auto

Describe the bug

MTextField 绑定decimal?可为空的值字段时,step无法传入decimal?,如果传入decimal常量会报转换错误。
Invalid cast from 'System.Decimal' to 'System.Nullable`1[[System.Decimal,

Expected Behavior

No response

Steps To Reproduce

No response

Reproduction code

.NET version

10.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions