} else { this.pokemonId.update((value) => { const newId = value + input.delta; return Math.min(input.max, Math.max(input.min, newId)); }); } } }Compiling application & starting dev server…angular-dkbeeh.stackblitz.io Console Clear on reload...
https://stackblitz.com/edit/stackblitz-starters-uxwgby?file=src%2Fmain.ts Please provide the environment you discovered this bug in (runng version) Angular CLI: 17.3.7 Node: 20.14.0 Package Manager: npm 10.8.2 OS: win32 x64 Angular: 17.3.5 ... animations, cdk, common, compiler, compil...
https://stackblitz.com/edit/stackblitz-starters-5bqmba9u?file=src%2Fmain.ts Sidenote: It seems that maybethis.createPostResource.set()might be better suited for setting therequestsignal rather than thevaluesignal. Signals or not, I can't think of a time that I've needed to override a va...
In Angular a signal is represented by a zero argument getter function returning the current signal value: interface Signal<T> { (): T; [SIGNAL]: unknown; } The getter function is marked with the SIGNAL symbol so the framework can recognize signals and apply internal optimizations. Signals ...
@angular-devkit/schematics 18.1.3 @schematics/angular 18.1.3 rxjs 7.8.1 typescript 5.5.4 zone.js 0.14.10 Anything else? No response Hello, could you please provide a narrowed down reproduction of this issue with stackblitz ? This would help us understand what exactly is happening here. ...
https://stackblitz.com/edit/jg6vgq?file=src%2Fexample%2Fform-field-overview-example.ts Please provide the exception or error you saw No response Please provide the environment you discovered this bug in (runng version) Angular CLI: 18.2.3 ...
You might be wondering if Angular instead could support binding to a signal directly, implicitly reading the signal's value. In the example above, that would change the binding tocountto{{count}}. This would be similar to the way Vue or Preact automatically unwrap thevaluein templates. Angul...
Thanks for your feedback, this will be fixed in the next patch release. As a temporary workaround, you can use the untracked function: import { untracked } from '@angular/core'; ok() { if (this.formGroup.get('number')!.value == '1') { + untracked(() => { this.formGroup.get...
Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description Calling detectChanges after router event ActivationEnd or NavigationEnd breaks change detection in embedded views. Uncommentthis.cdRef.detectChanges();in stackblitz to see problem. ...