cancel
Showing results for 
Search instead for 
Did you mean: 

Extended Input with custom renderer is losing data binding

04-19-2017 7:57 PM
puelo Explorer
616 views 1 comments
0 Likes
SAP Managed Tags
Subscribe

I am currently trying to extend the Input element to change and extend some HTML around it (labels and icons). Therefore i am doing something similar to this:

http://jsbin.com/pipacaxuwi/edit?html,css,output

Sadly it seems like by doing so i am also overwriting the data-binding between the model and the view. In the example above you can already see that the "change" event isn't fired regularly. How should i go about changing the html of the Input control while keeping the data binding? Thanks a lot!

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Tobias

I suggest that you look at how to build composite custom control tutorial.

Or I can give you an example if you can tell me what your requirements.

Thanks

-D