2

I am trying build drop down with form like this. I used ng-repeat inside li to build a simple dropdown and then placed them inside next to another. the number of columns can also can be dynamic so my approach wont work. How do I proceed to build such a dropdown. Is there any library out there that does this I could not find one.Thanks in advance.

enter image description here

2
  • Did you inspect that dropdown using Devtools in their site.. you can learn quite a bit.. Commented Oct 8, 2016 at 3:16
  • I did @RaviTeja but it is not angular. I need a way to do it in angularjs Commented Oct 8, 2016 at 3:22

1 Answer 1

2

If you want to do this with Angular, you will need to toggle a dropdown. The following example should be able to get you started: http://jsfiddle.net/Lvc0u55v/10630/

You will need to compose the columns and associate them with the ng-model.

On Operator field you can do the following:

<input ng-model="operator"/>
 <li ng-repeat="result in results | filter:operator</li>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.