Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ng-option-tmp custom #2370

Open
elvispdosreis opened this issue May 9, 2024 · 0 comments
Open

ng-option-tmp custom #2370

elvispdosreis opened this issue May 9, 2024 · 0 comments
Assignees

Comments

@elvispdosreis
Copy link

I need to set up a dropdown in the style of a vertical timeline, but I need <div class="timeline"> to be displayed only once, but within ng-option-tmp it is repeated several times

<ng-template ng-option-tmp let-item="item" let-index="index" class="timeline mb-0">


<div class="timeline">

   <div class="timeline-item ">
      <span class="timeline-point timeline-point-secondary">{{index}}</span>
      <div class="timeline-event">
         {{item.name}}
      </div>
   </div>

</div>

</ng-template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants