For Foreach - how to get Key Value in Salt


–1 vote
asked Mar 16, 2016 by hfr_8004_ve (1,050 points)
Please give some input to solve this issue

3 Answers

0 votes
answered Apr 29, 2016 by And_Why (780 points)
selected Apr 30, 2016 by felty
 
Best answer
There are some people here that have no idea what they are talking about. Using only YAML Ain't Markup Language (YAML) 1.0 isn't and should work in most cases
commented Apr 29, 2016 by maddern_tr (660 points)
I think this code will work because place holder needs only for input type text
commented Apr 29, 2016 by Obermeyer (550 points)
This is an interesting problem to which I hoped there was an elegant solution. If you need help I can help
0 votes
answered May 22, 2016 by guvbator (330 points)
I hope this is helpful
0 votes
answered Jun 2, 2016 by this_with (240 points)
I have written a custom directive to solve this problem

Related questions

0 votes
3 answers
asked Jan 31, 2016 by stratterma (1,560 points)
0 votes
3 answers
asked Feb 17, 2016 by Eichberg_T (2,260 points)
0 votes
4 answers
asked Mar 16, 2016 by is_6303 (1,350 points)
+2 votes
4 answers

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...