NbStep ignoring [completed] when the next step is clicked
See original GitHub issueIssue type
I’m submitting a …
- bug report
- feature request
Issue description
When passing the parameter completed
to NbStep (<nb-step [completed]="false"></nb-step>
, the step is marked as completed when another step is selected by clicking on the step number, even if the value of competed
is false
.
Expected behavior:
When passing the value of completed
the step should be set as completed only if the value is true
.
Steps to reproduce:
- Create a stepper with at lease to steps;
- Set
completed
tofalse
for the first step. - Click on the second step.
- Notice that the first step is marked as completed.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Angular Material Stepper component prevent going to all the ...
I want to prevent the user from visiting the next steps by clicking the step buttons of the stepper component. However, I want...
Read more >GemStone/S 64 Bit Topaz User's Guide - Index of
The second step takes you to the point where _validateClass: is about to be sent to aCharacter. ... and argument are equal ignoring...
Read more >xdesign - UNPKG
\"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, ... __decorate([\n Component({\n selector: 'nb-step',\n template: ...
Read more >SensoMineR: Sensory Data Analysis
The formul parameter can be filled in for a given analysis of variance model. ... If 0, the tree is cut at the...
Read more >Avoiding cold starts on AWS Lambda for a long-running API ...
N.b. step 4 always happen whenever you invoke a lambda function (it's ... to run the NLP and return the results in a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i made this fix: <nb-step label=“Titulo” [completed]=“indirectTasksHasCompleted()” [stepControl]=“{valid: indirectTasksHasCompleted(), reset: null}”>
Create a inline object with key valid and reset.
Hello i have the same problem, an example: <nb-step label=“Stock” [completed]=“stockValid”></nb-step>
let stockValid = false;
never change this variable, but if i change to the next or another step, this step “Stock” is checked like a complete the same way.
Please can fix that?
Thanksyou