Organizational Research By

Surprising Reserch Topic

disable input focus on click of label

disable input focus on click of label  using -'html,angularjs'

I have some pre-written code by a developer, Which I have to modify, In that code, A directive is created using textboxe is used inside label, And I added another custom directive in that directive. So the final rendered HTML looks like.

<label class="myClass">
  <div><input type="text" ng-model="someModel"></div>
    <div class="customDropdown">

As this div.customDropdown is inside label, whenever I click on dropdown, that click is going to textbox also.

So My question is, Is there any way to disable label feature of focusing input elements?

asked Oct 11, 2015 by amit_cmps
0 votes

Related Hot Questions

Government Jobs Opening