Need More Info
Last Updated: 15 Jul 2024 12:46 by ADMIN
René
Created on: 03 Jul 2024 10:13
Category: UI for Blazor
Type: Bug Report
1
SelectOnFocus Parameter for NumericTextBox not working if Format="C" is set

With
<TelerikNumericTextBox @bind-Value="myValue" Format="C" SelectOnFocus="true">
the content of the input is not selected upon focussing.  Without the Format="C" it is.

5 comments
ADMIN
Hristian Stefanov
Posted on: 15 Jul 2024 12:46

Hi René,

Take as much time as you need to prepare.

I look forward to receiving the reproduction.

Regards,
Hristian Stefanov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
René
Posted on: 12 Jul 2024 13:13

Hello Hristian,

we are using Blazor Server not WebAssembly.

When I find the time I'll try to create a runnable reproduction.  I'm very busy right now so it will take some time.

Regards,

René

ADMIN
Hristian Stefanov
Posted on: 12 Jul 2024 12:58

Hi René,

Thank you for the additional information.

The video you provided indeed shows an issue. To investigate further, we would still need a runnable reproduction of the problem. In the meantime, please take a look at this confirmed bug, which seems similar to your case: SelectOnFocus not working in WebAssembly. Are you using WebAssembly by any chance?

Regards,
Hristian Stefanov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
René
Posted on: 10 Jul 2024 10:24
Hello Hristian,
I have tried to change the  REPL to reproduce the bug but so far without success.
In our application the NumericTextBox is located in a Editor Template of a TreeListColumn.  The TreeList is quite complex and hard to reproduce in the REPL.   Due to the lack of time, I have to stop trying to reproduce it for now.  We will go on without the Format="C".
Attached is a zip containing a mp4 screen recording showing the problem.  The numberbox on the left does not use any Format and the numberbox on the right is using Format="C".
Attached Files:
ADMIN
Hristian Stefanov
Posted on: 10 Jul 2024 06:58

Hi René,

I have tried to reproduce the reported problem within this REPL link. As a result, the SelectOnFocus parameter seems to work correctly with Format="C". Please run and test the REPL sample to see if the result you get is the same.

Regards,
Hristian Stefanov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!