We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Entering values in SfMaskedEdit when the cursor is on the mask

Thread ID:

Created:

Updated:

Platform:

Replies:

146883 Aug 23,2019 01:18 PM UTC Aug 26,2019 02:09 PM UTC Xamarin.Forms 1
loading
Tags: SfMaskedEdit
Igor Mitrofanov
Asked On August 23, 2019 01:18 PM UTC

Hello

There was some problem when using SfMaskedEdit. The fact is that I use an element to enter the amount in bitcoins. Accordingly, the mask is as follows:

[0-9] * \.? [0-9] {1,8} BTC

If the user clicks on an element and the cursor goes beyond the space, then he cannot write anything until he moves the cursor to the position, at least before the space. However, if he moves the cursor to the “forbidden” position and begins to delete the content, then the behavior of the element becomes adequate, that is, the cursor moves to the nearest right character and it is deleted.

Is there a way to get an element to move the cursor and start typing when the user clicks on a position after a space?

Source code:
<maskedEdit:SfMaskedEdit x:Name="MaskedEditAmount"
                                 Mask="[0-9]*\.?[0-9]{1,8} BTC"
                                 MaskType="RegEx"
                                 HorizontalOptions="FillAndExpand"
                                 FontSize="40"
                                 Watermark="Сумма"
                                 WatermarkColor="#a2a2aa"
                                 WatermarkFontSize="40"
                                 TextColor="White"
                                 Keyboard="Numeric"
                                 BackgroundColor="Black"
                                 HorizontalTextAlignment="Center"
                                 ValidationMode="KeyPress"
                                 ValueMaskFormat="IncludeLiterals"
                                 BorderColor="#0D0D21"
                                 ErrorBorderColor="#0D0D21" />

Thank.

Rachel A [Syncfusion]
Replied On August 26, 2019 02:09 PM UTC

Hi Igor, 
 
Thanks for contacting Syncfusion Support. 
 
We have updated the response for the same query in the incident. Please login to your direct trac account to further follow up. 
 
Thanks, 
Rachel. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon