cancel
Showing results for 
Search instead for 
Did you mean: 
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
View Entire Topic
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