Remove selected as alternative to selectedStep. Selected is valid html
See original GitHub issueSay there are 10 components in a module and one uses the ng2-archwizard. All other modules will fail at runtime if they use selected
in a select/option html component.
ERROR Error: Uncaught (in promise): Error: Template parse errors:
No provider for WizardStep ("ustomer:
<select disabled class="form-control">
[ERROR ->]<option selected>{{specified.customerName}}</option>
</select>
"): ng:///CommissionModule/NewLocationComponent.html@27:28
Error: Template parse errors:
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Remove select option with specific value - Stack Overflow
You don't need Prototype JS to do this. Removing an option by index: var select = document.getElementById('someid') select.
Read more >HTML DOM Select remove() Method - W3Schools
Select remove () Method. ❮ Select Object. Example. Remove the selected option from the drop-down list: var x = document.getElementById("mySelect");
Read more >Stepper step routes · Issue #12345 · angular/components
When I switch between steps, route url is updated. When I navigate to a specific stepper step route, the step is selected.
Read more >Building a Custom Stepper using Angular CDK - InDepth.Dev
The body will hold the content of the current/selected step. ... (number) – the index of the step that is selected, an alternative...
Read more >Selection.deleteFromDocument() - Web APIs | MDN
The deleteFromDocument() method of the Selection interface deletes the selected text from the document's DOM.
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
You’re right, this can lead to a problem. I believe it’s best to also remove some other directive selectors, like
optional
, because they are too generic and used otherwise.Ok great. Thanks!