Question

2
Replies
188
Views
NageshwaraR Member since 2016 5 posts
l & t infotech
Posted: 3 years ago
Last activity: 3 years 6 months ago
Closed

I have a control to disable paste in textbox , it's not working in peg 7 but it's working as expected in lower version. can any one help on this one?

I have a control to disable paste in textbox , it's not working in peg 7 but it's working as expected in lower version. can any one help on this one?

control code is below

<pega:choose>
<pega:when test='$mode-input'>
<pega:include name="Messages"/>
<input type=text onpaste="event.returnValue=false;" name="<pega:reference name="$this-name" />" value="<pega:reference name="$this-value" />" size="10" maxlength="10" id="<pega:reference name='$this-Definition(pyPropertyName)' mode="NORMAL" />"
</pega:when>
<pega:otherwise>
<b><pega:reference name="$this-value"/></b>
</pega:otherwise>
</pega:choose>

Low-Code App Development
Moderation Team has archived post
Share this page LinkedIn