You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Support request => Please do not submit support request here
Current behavior
Sample Code:
import{Component,OnInit}from'@angular/core';
@Component({selector: 'nz-demo-timeline-basic',template: ` <nz-timeline> <nz-timeline-item *ngFor="let event of events">{{event}}</nz-timeline-item> </nz-timeline>`,styles: []})exportclassNzDemoTimelineBasicComponentimplementsOnInit{events=['Create a services site 2015-09-01','Solve initial network problems 2015-09-01','Technical testing 2015-09-01','Network problems being solved 2015-09-01'];constructor(){}ngOnInit(){}}
Error Screenshot:
Expected behavior
In the real world, the timeline events data should almost come from the backend rather than the hardcode. So the NzTimelineComponent should support for dynamic render.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
Angular version: 4.3.4
ng-zorro-antd version: 0.5.0-rc.0
Browser:
- [x] Chrome (desktop) version 59
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
For Tooling issues:
- Node version: XX
- Platform:
Others:
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
lockbot
locked as resolved and limited conversation to collaborators
Feb 19, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm submitting a...
Current behavior
Sample Code:
Error Screenshot:
Expected behavior
In the real world, the timeline events data should almost come from the backend rather than the hardcode. So the NzTimelineComponent should support for dynamic render.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
The text was updated successfully, but these errors were encountered: