Blazor | ComponentOne
In This Topic
    Keyboard Support
    In This Topic

    You can add the key support to the Numeric Box control using FinishEditigKeys property of C1NumericBox class where you can specify a key to be pressed for finishing the editing.

    The code below can be used to add "Enter" key to finish the editing in Numeric Box control.

    Copy Code
    <label>Finish editing by pressing on Enter</label>
        <C1NumericBox Format="##,###.##" Placeholder="Any Text" Style="@(new C1Style(){ Width = 500})" FinishEditingKeys="@(new[] {NumericBoxFinishEditingKey.Enter})" TNumeric="double" ></C1NumericBox>