cancel
Showing results for 
Search instead for 
Did you mean: 

Extended Input with custom renderer is losing data binding

puelo
Explorer
0 Kudos

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!

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182862
Active Contributor
0 Kudos

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