No how do I pass on or off to my form using the ""

2 posts, 0 answers
  1. Philip
    Philip avatar
    8 posts
    Member since:
    Mar 2017

    Posted 22 Mar 2017 Link to this post

    Okay, been working with this one for about 20 mins and I'm not sure what's going.

    I've got a kendo Switch which I enable like so on my page inside using an MVVM framework.

    <input data-role="" id="mySwitch'" data-type="boolean'" data-name="showRecords'" data-checked="false" />

    The switch renders find, but no matter if I have it on or off is just sends "on" to my form as a value.


    How do I get it to send off please?



  2. Bozhidar
    Bozhidar avatar
    1159 posts

    Posted 24 Mar 2017 Link to this post


    Here's a js fiddle from another forum thread, showing a working mvvm setup of the switch widget:

    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top