Organizational Research By

Surprising Reserch Topic

Experts Most Trusted 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>
  <my-custom-tag>
    <div class="customDropdown">
      dropdownBox
    </div>
  </my-custom-tag>
</label>


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
2 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...