I have a RadzenTextBox whose @bind-value is an int value and the problem is:
If I leave the int value, the error is: "Cannot implicitly convert type 'int?' in 'string' "
If the .ToString () value is added to the int value, the errors are:
"Lambda expression cannot be converted to the delegated type indicated because some of the returned types of the block cannot be implicitly converted into the return type of the delegate "
"The left part of an assignment must be a variable, a property or an indexer"
RadzenTextBox works only with string properties (similar to the Blazor built-in InputText). You can use RadzenNumeric for integers or other numeric properties.
In the basic Blazor app, I see the same thing as you - text box and numeric are styled the same way.
I'm using Radzen in Oqtane, so instead of using the component, I include the theme via css - using material3 or material3-base I get the styled result for the TextBox, but the Numeric doesnt respond to style changes.
Not sure the best way to include the theme in Oqtane besides providing the theme via css. I've tried adding to my page and get the same unstyled result on the Numeric.
Please offer any thoughts on what I can try to include the theme properly?
Or perhaps some other way to style / override the look of the Numeric?
Besides binding to a number, and providing the Scroll wheels, does the numeric have some other wrapper that the TextBox lacks?