Base solution for your next web application
Open Closed

Setting focus programmatically and by Tab press on Checkbox #2886


User avatar
0
george created

Hi!,

   I am experiencing a bit of difficulty on progammatically setting of focus, on markup controls.  And also the checkbox control is get skipped from focus while using Tab key Press Navigation.

The sample code for the check box we are using :

   <input id="someId" class="md-check" type="checkbox" name="name" ng-model="vm.model">
                                <label for="someId">
                                    <span class="inc"></span>
                                    <span class="check"></span>
                                    <span class="box"></span>
                                    @L("Name")
                                </label>
 

Regards.


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    It seems like metronic has such a problem <a class="postlink" href="http://keenthemes.com/forums/topic/checkboxes-material-design-tab-traversal/">http://keenthemes.com/forums/topic/chec ... traversal/</a>. It fixes setting focus problem but it is not possible to check/uncheck controls using space key. It seems like metronic needs to handle keypress event on checkbox/radio controls as well.

    Thanks.

  • User Avatar
    0
    george created

    Hi,

     Thanks for the reply.