Skip to Content

Extended Input with custom renderer is losing data binding

Apr 19, 2017 at 05:57 PM


avatar image

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:,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!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member
Apr 20, 2017 at 07:53 AM

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.



10 |10000 characters needed characters left characters exceeded