Country code flag icon is not showing on form in for loop #49
Replies: 7 comments 5 replies
-
Hello @KrupaVasava I didn't get you point. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hi @dropways I try to explain with screen shot I hope it will help to you! As Image -1 , I have datatable grid with edit button if I try to click to row 1 on edit button it will show edit model as below image -2. Image - 2, As Image -2 it is showing flag in contact fields. but if I click on to the second row of edit button it will stop showing flag icons in two fields. so, how can I solve this? |
Beta Was this translation helpful? Give feedback.
-
yes You are right . but it will showing only on first row of datatable not for either. |
Beta Was this translation helpful? Give feedback.
-
Hi @dropways Is this correct way declare javascript? html code: javascript code:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
actually we are working in python and in python , we need both model for edit and add user. that's why we are using these two models. |
Beta Was this translation helpful? Give feedback.
-
Hi Ankit ,
You can mail me on this email id. And As per our company policy we can’t share our personal detail to anyone. So we have to continue our conversion with this email id.
Thank You!
|
Beta Was this translation helpful? Give feedback.
-
I am trying to getting flag icon on every edit form of each datatable row have edit button. but unfortunately I can see flag icon only in 1st row of edit form of datatable grid. and in other rows I am not able to see flag icon. Can you help us how can I modified my javascript so I can see flag icon on every edit form of each row of datatable.
NOTE : We have code is in Django Python and the variable is in DTL (djnango Template Language)
Datatable Code:
{{adduser.brl_name}}
HTML Code :
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.17/js/intlTelInput.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/js/bootstrap.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>Edit Form :
Beta Was this translation helpful? Give feedback.
All reactions