Comments (2)
AFAIK, not being able to set a signal input programmatically is by design.
Although I think that this should be possible in some scenarios (setting the inputs of an injected host directive when using directive composition), setting inputs without a host component during tests is already possible by using ComponentFixture.componentRef.setInput()
.
from angular.
Per above, you should be using setInput()
.
from angular.
Related Issues (20)
- feat(@angular/router): Add navigateToParent method with steps option HOT 1
- this.router.getCurrentNavigation().extras.state used to return undefined for the 1st navigation after reload the page HOT 3
- Angular devtools stopped working few days ago. "Angular application not detected" HOT 6
- Using this keyword in templates will use template varibales instead of component variables. HOT 2
- ChangeDetectionSchedulerImpl breaks Zoneless apps
- Minor mistake in "Image optimization" guide page (aio) HOT 2
- Output Signal works, but parent says event is not emitted... HOT 2
- Pipes doc not loading when opening it in angular.dev https://angular.dev/api/common#pipes HOT 1
- Scrolling on angular.dev API reference page is not working well HOT 2
- Angular DevTools not available - Firefox Developer Edition HOT 8
- No link to sources from reference documentation on angular.dev HOT 1
- Uncaught Error: ASSERTION ERROR: NodeInjector must have some connection to the module injector tree HOT 4
- Angular new website is down! HOT 5
- Conflicting Press Kit Guidelines in angular.dev Documentation
- Typescript 'user' is possibly 'undefined' Error in angular-compiler HOT 3
- [$injector:unpr] Unknown provider: translateFilterProvider <- translateFilter HOT 2
- docs: Confusing information on Angular Elements guide page
- Possible Bug - Type Narrowing works with Strings (Class and Template), but not with Enums (only works in Class, but not Template) HOT 8
- Support Ticket Test
- Page Not Found 🙃 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular.