Quantcast
Channel: SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 789

Small workaround for TextArea change when inside an InPlaceEdit

$
0
0

Hi,

If you've been using InPlaceEdit with a TextArea you probably noticed that it has stopped responding to changes.

This is due to recent changes which are described here.

 

If you still want to leverage the benefits of TextArea combined with InPlaceEdit, a simple workaround can be used.

 

After defining a textArea control with a change function:

 

textArea.attachBrowserEvent("blur", textArea.onsapfocusleave);

textArea.onsapfocusleave = function(){

textArea.fireChange();

        };

 

Have fun.

byg.


Viewing all articles
Browse latest Browse all 789

Trending Articles



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