IgniteUI / igniteui-blazor

Ignite UI for Blazor component library packs 35+ native Blazor UI Controls with 60+ high-performance Charts designed for any Blazor WASM or Server-side app scenario.
https://www.infragistics.com/products/ignite-ui-blazor
3 stars 3 forks source link

Cannot two-way bound number type input #108

Open wnvko opened 5 months ago

wnvko commented 5 months ago

Description

I have an IgbInput with DisplayType set to Numer. I am trying to two-way bound it to a numeric variable.

Steps to reproduce

Use code like this:

<IgbInput DisplayType="InputType.Number" @bind-Value="@_number" Label="Numeric" input_group-scope></IgbInput>

@code {
    private double _number;
}

Result

Error is shown - Cannot convert from double to string.

Expected result

Should be able to bind numeric input to numeric value. Note, this does not work with int too.

dkamburov commented 1 month ago

It's fixed internally, but we'll close it once the official release version is out.