Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 2129

Rest the value in MaskInput

$
0
0

hi,

 

I am using a MaskInput in Dialog, and would like to clear the value before the Dialog opens.

 

What I have done so far,

used setValue(null) and

cleared the value data binding value using, oModel.setProperty("/maskIpt", "");

When the element is rendered, it shows the place holder String, it means that the value of the MaskInput is cleared,

 

The problem

is when I start typing the previous value is displayed.

 

Is there a method to reset the input, to display the initial value with the placeholder characters (eg: ____-____) every time I open the dialog?

 

Thank you

 

Sudhir Kancherla


Viewing all articles
Browse latest Browse all 2129

Trending Articles



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