Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Is there any InputMask for IBAN (BlazorInputMask)?

$
0
0

I try to create a component in Blazor for IBAN. But someone adviced me using BlazorInputMask. I only see examples for phone numbers.

Is there any InputMask for a correct IBAN?I only can input the digits. When you have an IBAN NL98 INGB 00007 6543 21Then you get as result NL98 AAAA 0007 6543 21.

@{    string mask = "/[^A-Z0-9]/";     if (OnlyDutch)    {        mask = "NL00 AAAA 0000 0000 00";    }}<InputMask @attributes="AdditionalAttributes"           name="@AttributeName"           id="@Id"           class="@CssClass"           @bind-Value="@stringValue"           data-mask=@mask           placeholder="NL00 BANK 0000 0000 00"           @oninput="OnInput"           @onchange="this.OnValueChanged" />

Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>