Open wnvko opened 5 months ago
I have an IgbInput with DisplayType set to Numer. I am trying to two-way bound it to a numeric variable.
IgbInput
DisplayType
Numer
Use code like this:
<IgbInput DisplayType="InputType.Number" @bind-Value="@_number" Label="Numeric" input_group-scope></IgbInput> @code { private double _number; }
Error is shown - Cannot convert from double to string.
Cannot convert from double to string
Should be able to bind numeric input to numeric value. Note, this does not work with int too.
int
It's fixed internally, but we'll close it once the official release version is out.
Description
I have an
IgbInput
withDisplayType
set toNumer
. I am trying to two-way bound it to a numeric variable.Steps to reproduce
Use code like this:
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.