<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Angular</title>
    <description>Conteúdo sobre Angular</description>
    <pubDate>Tue, 14 Jul 2026 16:44:21 +0000</pubDate>
    <lastBuildDate>Tue, 14 Jul 2026 16:44:21 +0000</lastBuildDate>
    <generator>4Each - Forum Progress</generator>
    <link>http://www.4each.com.br/forums/angular/</link>
    <atom:link rel="self" type="application/rss+xml" href="http://www.4each.com.br/forums/angular/index.rss"/>
    <item>
      <title>Material 18 - Edit chip content with a button</title>
      <pubDate>Mon, 01 Dec 2025 15:02:57 +0000</pubDate>
      <link>http://www.4each.com.br/threads/material-18-edit-chip-content-with-a-button.165854/</link>
      <guid>http://www.4each.com.br/threads/material-18-edit-chip-content-with-a-button.165854/</guid>
      <author>katana</author>
      <dc:creator>katana</dc:creator>
      <content:encoded><![CDATA[I recently implemented Material chips (v18) in my Angular app, and it seems that the only way to edit a chip’s content is by double-clicking on it. But in the latest Material version they added an edit button that does the same thing. Is it possible to add an edit button to a Material v18 chip and emulate the same behavior that the edit button has in the latest version (v21)?<br />
<br />
Examples: Material v18: <a href="https://v18.material.angular.dev/components/chips/examples#chips-input" target="_blank" class="externalLink" rel="nofollow">https://v18.material.angular.dev/components/chips/examples#chips-input</a> Material v21: <a href="https://material.angular.dev/components/chips/examples#chips-input" target="_blank" class="externalLink" rel="nofollow">https://material.angular.dev/components/chips/examples#chips-input</a><br />
<br />
<a href="https://stackoverflow.com/questions/79834947/material-18-edit-chip-content-with-a-button" target="_blank" class="externalLink" rel="nofollow">Continue reading...</a><br />
<br />
<a href="http://www.4each.com.br/threads/material-18-edit-chip-content-with-a-button.165854/" class="internalLink">Material 18 - Edit chip content with a button</a>]]></content:encoded>
    </item>
    <item>
      <title>Inject migration angular didn't work on nx workspace</title>
      <pubDate>Mon, 01 Dec 2025 11:22:29 +0000</pubDate>
      <link>http://www.4each.com.br/threads/inject-migration-angular-didnt-work-on-nx-workspace.165829/</link>
      <guid>http://www.4each.com.br/threads/inject-migration-angular-didnt-work-on-nx-workspace.165829/</guid>
      <author>kian</author>
      <dc:creator>kian</dc:creator>
      <content:encoded><![CDATA[I use this nx generate @angular/core:inject to migrate projects but get below error:<br />
<br />
<div style="padding-left: 30px"><br />
Could not find any files to migrate under the path /home/jibit/Desktop/jibit-angular-workspace/. Cannot run the inject migration.<br />
&#8203;</div><br />
<a href="https://i.sstatic.net/DdmM26q4.png" target="_blank" class="externalLink" rel="nofollow"><img src="https://i.sstatic.net/DdmM26q4.png" class="bbCodeImage LbImage" alt="[&#x200B;IMG]" data-url="https://i.sstatic.net/DdmM26q4.png" /></a><br />
<br />
also try to use --path to address specific project in apps folder.<br />
<br />
I can&#039;t figure out this problem is related to what? tsconfig maybe? or mismatch package versions?<br />
<br />
<b>Tsconfig:</b><br />
<br />
<a href="https://i.sstatic.net/rnV9WBkZ.png" target="_blank" class="externalLink" rel="nofollow"><img src="https://i.sstatic.net/rnV9WBkZ.png" class="bbCodeImage LbImage" alt="[&#x200B;IMG]" data-url="https://i.sstatic.net/rnV9WBkZ.png" /></a><br />
<br />
<b>package.json:</b><br />
<br />
<br />
&quot;dependencies&quot;: {<br />
  &quot;@angular/animations&quot;: &quot;20.3.4&quot;,<br />
  &quot;@angular/cdk&quot;: &quot;20.2.8&quot;,<br />
  &quot;@angular/common&quot;: &quot;20.3.4&quot;,<br />
  &quot;@angular/compiler&quot;: &quot;20.3.4&quot;,<br />
  &quot;@angular/core&quot;: &quot;20.3.4&quot;,<br />
  &quot;@angular/forms&quot;: &quot;20.3.4&quot;,<br />
  &quot;@angular/localize&quot;: &quot;20.3.4&quot;,<br />
  &quot;@angular/material&quot;:...<br />
<br />
<a href="http://www.4each.com.br/threads/inject-migration-angular-didnt-work-on-nx-workspace.165829/" class="internalLink">Inject migration angular didn&#039;t work on nx workspace</a>]]></content:encoded>
    </item>
    <item>
      <title>withEnabledBlockingInitialNavigation() is required to make hydration work for route component,...</title>
      <pubDate>Mon, 01 Dec 2025 09:42:25 +0000</pubDate>
      <link>http://www.4each.com.br/threads/withenabledblockinginitialnavigation-is-required-to-make-hydration-work-for-route-component.165818/</link>
      <guid>http://www.4each.com.br/threads/withenabledblockinginitialnavigation-is-required-to-make-hydration-work-for-route-component.165818/</guid>
      <author>Chrillewoodz</author>
      <dc:creator>Chrillewoodz</dc:creator>
      <content:encoded><![CDATA[I&#039;m investigating why our application flickers when running on a slower network such as 3G/4G on a mobile while also using SSR, and I found that the router component disappears after a while, before popping back in (classic SSR rendering with no hydration, basically).<br />
<br />
I dug deeper, and found this in the Angular devtools panel:<br />
<br />
<a href="https://i.sstatic.net/AJmThqU8.png" target="_blank" class="externalLink" rel="nofollow"><img src="https://i.sstatic.net/AJmThqU8.png" class="bbCodeImage LbImage" alt="[&#x200B;IMG]" data-url="https://i.sstatic.net/AJmThqU8.png" /></a><br />
<br />
This seems to indicate that my lazy loaded route component wasn&#039;t hydrated, based on missing the little hydration icon to the far right.<br />
<br />
These are my client and server configs respectively:<br />
<br />
export const appConfig: ApplicationConfig = {<br />
  providers: [<br />
    provideBrowserGlobalErrorListeners(),<br />
    provideZonelessChangeDetection(),<br />
    provideClientHydration(withEventReplay(), withI18nSupport(), withIncrementalHydration(), withHttpTransferCacheOptions({...<br />
<br />
<a href="http://www.4each.com.br/threads/withenabledblockinginitialnavigation-is-required-to-make-hydration-work-for-route-component.165818/" class="internalLink">withEnabledBlockingInitialNavigation() is required to make hydration work for route component,...</a>]]></content:encoded>
    </item>
    <item>
      <title>AWS Amplify keeps clearing my session tokes from localStorace after a network droput</title>
      <pubDate>Mon, 01 Dec 2025 05:53:19 +0000</pubDate>
      <link>http://www.4each.com.br/threads/aws-amplify-keeps-clearing-my-session-tokes-from-localstorace-after-a-network-droput.165790/</link>
      <guid>http://www.4each.com.br/threads/aws-amplify-keeps-clearing-my-session-tokes-from-localstorace-after-a-network-droput.165790/</guid>
      <author>Joseph Cannella</author>
      <dc:creator>Joseph Cannella</dc:creator>
      <content:encoded><![CDATA[I&#039;m a bit frustrated with AWS Amplify, what seems like a basic feature of maintaining sessions is seems to fail if the network drops.<br />
<br />
Here is my Cogntio CDK setup, the refreshTokenValidity is set to 90 days, however I was noticing that after a netowkr drop (or device sleep) the tokens were often cleared froom localStorage. I&#039;ve since managed to find a way to hack most of these to prevent them form being removed, however I noticed that only 5 of the 6 tokens are preserved and the Amplify login page of the App doesnt seem to realize that the user is re-authenticated and should be considered logged in.<br />
<br />
    // user pool client is used for authentication<br />
    this.userPoolClient = new UserPoolClient(this, &#039;SmallTownClient&#039;, {<br />
      userPool: this.userPool,<br />
      generateSecret: false, //  must be false for Amplify login to work<br />
      authFlows: {<br />
        userPassword: true,<br />
        userSrp:...<br />
<br />
<a href="http://www.4each.com.br/threads/aws-amplify-keeps-clearing-my-session-tokes-from-localstorace-after-a-network-droput.165790/" class="internalLink">AWS Amplify keeps clearing my session tokes from localStorace after a network droput</a>]]></content:encoded>
    </item>
    <item>
      <title>Internal server error: Failed to update ``Vite` client error overlay text</title>
      <pubDate>Mon, 01 Dec 2025 05:22:56 +0000</pubDate>
      <link>http://www.4each.com.br/threads/internal-server-error-failed-to-update-vite-client-error-overlay-text.165786/</link>
      <guid>http://www.4each.com.br/threads/internal-server-error-failed-to-update-vite-client-error-overlay-text.165786/</guid>
      <author>3gwebtrain</author>
      <dc:creator>3gwebtrain</dc:creator>
      <content:encoded><![CDATA[Because of the angular 20 security issue, I updated the 20.3.14 version. But on running the app, getting an error as<br />
<br />
[vite] Internal server error: Failed to update Vite client error overlay text.<br />
      at loadViteClientCode (C:\Users\bashim2\Projects\CAT\minestar-gui-safety\node_modules\@angular\build\src\tools\vite\plugins\angular-memory-plugin.js:108:31)<br />
      at async EnvironmentPluginContainer.load (file:///C:/Users/bashim2/Projects/CAT/minestar-gui-safety/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:42293:22)<br />
      at async loadAndTransform (file:///C:/Users/bashim2/Projects/CAT/minestar-gui-safety/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:35673:22)<br />
<br />
<br />
How to fix this error? here is my package.json<br />
<br />
   {<br />
  &quot;name&quot;: &quot;source&quot;,<br />
  &quot;version&quot;: &quot;0.0.0&quot;,<br />
  &quot;license&quot;: &quot;MIT&quot;,<br />
  &quot;scripts&quot;: {<br />
    &quot;start&quot;: &quot;npx nx serve&quot;,<br />
    &quot;lint&quot;: &quot;npx nx affected -t lint&quot;,<br />
    &quot;stylelint&quot;:...<br />
<br />
<a href="http://www.4each.com.br/threads/internal-server-error-failed-to-update-vite-client-error-overlay-text.165786/" class="internalLink">Internal server error: Failed to update ``Vite` client error overlay text</a>]]></content:encoded>
    </item>
    <item>
      <title>How to implement custom node-based reshaping for SVG ellipse inside a resizable reference box?...</title>
      <pubDate>Mon, 01 Dec 2025 05:22:56 +0000</pubDate>
      <link>http://www.4each.com.br/threads/how-to-implement-custom-node-based-reshaping-for-svg-ellipse-inside-a-resizable-reference-box.165785/</link>
      <guid>http://www.4each.com.br/threads/how-to-implement-custom-node-based-reshaping-for-svg-ellipse-inside-a-resizable-reference-box.165785/</guid>
      <author>yashwanth</author>
      <dc:creator>yashwanth</dc:creator>
      <content:encoded><![CDATA[I’m working on a feature similar to Figma or Lucidchart where an ellipse (or circle) is placed inside a reference box (a square) with four corner handles for resizing.<br />
<br />
<a href="https://go.screenpal.com/watch/cTXvihnqCRq" target="_blank" class="externalLink" rel="nofollow">Screen recording expectation</a><br />
<br />
Current functionality:<br />
<br />
<ul>
<li><br />
Dragging a corner handle resizes the ellipse while keeping the opposite corner fixed.<br />
<br />
</li>
<li><br />
Dragging a side handle adjusts the width or height proportionally.<br />
</li>
</ul><br />
This works fine for ellipses.<br />
<br />
Now, I want to add:<br />
<br />
<ul>
<li><b>custom node-based reshaping</b> of the ellipse using a rotation handle.</li>
</ul><br />
I tried multiple approaches, including using SVG &lt;ellipse&gt; and experimenting with &lt;path&gt; for more flexibility, but I couldn’t get rotation to work properly.<br />
<br />
<b>Question:</b><br />
<br />
<ul>
<li><br />
Is using an SVG &lt;path&gt; the right approach for enabling rotation and node-based reshaping?<br />
<br />
</li>
<li><br />
Are there...</li>
</ul><br />
<a href="http://www.4each.com.br/threads/how-to-implement-custom-node-based-reshaping-for-svg-ellipse-inside-a-resizable-reference-box.165785/" class="internalLink">How to implement custom node-based reshaping for SVG ellipse inside a resizable reference box?...</a>]]></content:encoded>
    </item>
    <item>
      <title>What is the difference between Promises and Observables?</title>
      <pubDate>Sun, 30 Nov 2025 11:35:39 +0000</pubDate>
      <link>http://www.4each.com.br/threads/what-is-the-difference-between-promises-and-observables.165640/</link>
      <guid>http://www.4each.com.br/threads/what-is-the-difference-between-promises-and-observables.165640/</guid>
      <author>Rohit</author>
      <dc:creator>Rohit</dc:creator>
      <content:encoded><![CDATA[What is the difference between Promise and Observable in Angular?<br />
<br />
An example on each would be helpful in understanding both the cases. In what scenario can we use each case?<br />
<br />
<a href="https://stackoverflow.com/questions/37364973/what-is-the-difference-between-promises-and-observables" target="_blank" class="externalLink" rel="nofollow">Continue reading...</a>]]></content:encoded>
    </item>
    <item>
      <title>HttpTestingController runs endlessly</title>
      <pubDate>Sun, 30 Nov 2025 09:56:21 +0000</pubDate>
      <link>http://www.4each.com.br/threads/httptestingcontroller-runs-endlessly.165624/</link>
      <guid>http://www.4each.com.br/threads/httptestingcontroller-runs-endlessly.165624/</guid>
      <author>TalVik99</author>
      <dc:creator>TalVik99</dc:creator>
      <content:encoded><![CDATA[In my component I have httpResource:<br />
<br />
export class EmployeesComponent {<br />
  employees = httpResource&lt;EmployeeResponseDtoOutput[]&gt;(() =&gt; &#039;/api/employees&#039;, {<br />
    defaultValue: [],<br />
  });<br />
}<br />
<br />
<br />
and in tests I try to test it with <b>Vitest</b>:<br />
<br />
describe(&#039;EmployeesComponent&#039;, () =&gt; {<br />
  let component: EmployeesComponent;<br />
  let fixture: ComponentFixture&lt;EmployeesComponent&gt;;<br />
  let _httpTesting: HttpTestingController;<br />
<br />
  beforeEach(async () =&gt; {<br />
    await TestBed.configureTestingModule({<br />
      imports: [EmployeesComponent],<br />
      providers: [provideRouter([]), provideHttpClient(), provideHttpClientTesting()],<br />
    }).compileComponents();<br />
<br />
    fixture = TestBed.createComponent(EmployeesComponent);<br />
    component = fixture.componentInstance;<br />
    _httpTesting = TestBed.inject(HttpTestingController);<br />
    await fixture.whenStable();<br />
  });<br />
<br />
  it(&#039;should create&#039;, () =&gt; {<br />
    expect(component).toBeTruthy();...<br />
<br />
<a href="http://www.4each.com.br/threads/httptestingcontroller-runs-endlessly.165624/" class="internalLink">HttpTestingController runs endlessly</a>]]></content:encoded>
    </item>
    <item>
      <title>How to implement rotation and custom node-based reshaping for SVG ellipse inside a resizable...</title>
      <pubDate>Sun, 30 Nov 2025 07:23:32 +0000</pubDate>
      <link>http://www.4each.com.br/threads/how-to-implement-rotation-and-custom-node-based-reshaping-for-svg-ellipse-inside-a-resizable.165609/</link>
      <guid>http://www.4each.com.br/threads/how-to-implement-rotation-and-custom-node-based-reshaping-for-svg-ellipse-inside-a-resizable.165609/</guid>
      <author>yashwanth</author>
      <dc:creator>yashwanth</dc:creator>
      <content:encoded><![CDATA[Reference: <a href="https://go.screenpal.com/watch/cTXvihnqCRq" target="_blank" class="externalLink" rel="nofollow">screen recording link</a><br />
<br />
I’m working on a feature similar to Figma or Lucidchart where an ellipse (or circle) is placed inside a reference box (a square) with four corner handles for resizing.<br />
<br />
Current functionality:<br />
<br />
<ul>
<li><br />
Dragging a corner handle resizes the ellipse while keeping the opposite corner fixed.<br />
<br />
</li>
<li><br />
Dragging a side handle adjusts the width or height proportionally.<br />
</li>
</ul><br />
This works fine for ellipses.<br />
<br />
Now, I want to add:<br />
<br />
<ol>
<li><br />
<b>Rotation</b> of the ellipse using a rotation handle.<br />
<br />
</li>
<li><br />
<b>Double-click to add an extra node</b> that can be dragged to reshape the ellipse (similar to vector editing tools).<br />
</li>
</ol><br />
I tried multiple approaches, including using SVG &lt;ellipse&gt; and experimenting with &lt;path&gt; for more flexibility, but I couldn’t get rotation and custom node-based reshaping to work...<br />
<br />
<a href="http://www.4each.com.br/threads/how-to-implement-rotation-and-custom-node-based-reshaping-for-svg-ellipse-inside-a-resizable.165609/" class="internalLink">How to implement rotation and custom node-based reshaping for SVG ellipse inside a resizable...</a>]]></content:encoded>
    </item>
    <item>
      <title>Send Observable result to child component as Signal</title>
      <pubDate>Sat, 29 Nov 2025 20:42:12 +0000</pubDate>
      <link>http://www.4each.com.br/threads/send-observable-result-to-child-component-as-signal.165553/</link>
      <guid>http://www.4each.com.br/threads/send-observable-result-to-child-component-as-signal.165553/</guid>
      <author>Horacio García Magallanes</author>
      <dc:creator>Horacio García Magallanes</dc:creator>
      <content:encoded><![CDATA[In my code I am trying to get the result from this observable<br />
<br />
// Runs fine<br />
obtenerOfertaPorId(id: number): Observable&lt;Oferta&gt; {<br />
    return this.http.get&lt;Oferta&gt;(`${this.apiUrl}${this.base_url}/obtenerOfertaPorId/${id}`)<br />
      .pipe(<br />
        tap(resultado =&gt; console.log(resultado)),<br />
        catchError(error =&gt; {<br />
          console.log(&#039;Error fetching oferta by id&#039;);<br />
          return throwError(() =&gt; new Error(error))<br />
        })<br />
      );<br />
  }<br />
<br />
<br />
On this component:<br />
<br />
export class JobPostDetailPage {<br />
  <br />
  private activatedRoute = inject(ActivatedRoute);<br />
  private id = this.activatedRoute.snapshot.paramMap.get(&#039;id&#039;)!;<br />
  private ofertaService = inject(OfertaService);<br />
  jobPost = toSignal(this.ofertaService.obtenerOfertaPorId(parseInt(this.id)));<br />
  <br />
}<br />
<br />
<br />
<br />
To send the result as an input signal to the children:<br />
<br />
&lt;navbar-wrapper/&gt;<br />
    &lt;job-posting-form [jobPostInput]=&quot;jobPost()&quot;/&gt;<br />
&lt;wkFooter/&gt;<br />
<br />
<br />
And...<br />
<br />
<a href="http://www.4each.com.br/threads/send-observable-result-to-child-component-as-signal.165553/" class="internalLink">Send Observable result to child component as Signal</a>]]></content:encoded>
    </item>
    <item>
      <title>What does "NG8113: Home is not used within the template of App" mean</title>
      <pubDate>Sat, 29 Nov 2025 02:43:30 +0000</pubDate>
      <link>http://www.4each.com.br/threads/what-does-ng8113-home-is-not-used-within-the-template-of-app-mean.165426/</link>
      <guid>http://www.4each.com.br/threads/what-does-ng8113-home-is-not-used-within-the-template-of-app-mean.165426/</guid>
      <author>Damon Heinz</author>
      <dc:creator>Damon Heinz</dc:creator>
      <content:encoded><![CDATA[I was doing the tutorial from <a href="https://angular.dev/tutorials/first-app/11-details-page" target="_blank" class="externalLink" rel="nofollow">https://angular.dev/tutorials/first-app/11-details-page</a>. I got the error message below:<br />
<br />
<br />
NG8113: Home is not used within the template of App [plugin angular-compiler]<br />
<br />
    src/app/app.ts:6:12:<br />
      6 │   imports: [Home, RouterLink, RouterOutlet],<br />
<br />
I also got the error message: <br />
<br />
TS2339: Property &#039;photo&#039; does not exist on type &#039;InputSignal&lt;HousingLocationInfo&gt;&#039;. [plugin angular-compiler]<br />
<br />
    src/app/housing-location/housing-location.ts:11:31:<br />
      11 │         [src]=&quot;housingLocation.photo&quot;<br />
<br />
What did I do wrong to generate these messages? The NG8113 message is considered a warning by the compiler, but I brought it up because it might be responsible for the other message.<br />
<br />
<a href="https://stackoverflow.com/questions/79833019/what-does-ng8113-home-is-not-used-within-the-template-of-app-mean" target="_blank" class="externalLink" rel="nofollow">Continue reading...</a><br />
<br />
<a href="http://www.4each.com.br/threads/what-does-ng8113-home-is-not-used-within-the-template-of-app-mean.165426/" class="internalLink">What does &quot;NG8113: Home is not used within the template of App&quot; mean</a>]]></content:encoded>
    </item>
    <item>
      <title>Angular: How do I read a text file located in the assets folder?</title>
      <pubDate>Fri, 28 Nov 2025 20:03:22 +0000</pubDate>
      <link>http://www.4each.com.br/threads/angular-how-do-i-read-a-text-file-located-in-the-assets-folder.165377/</link>
      <guid>http://www.4each.com.br/threads/angular-how-do-i-read-a-text-file-located-in-the-assets-folder.165377/</guid>
      <author>ISHAAN PATEL</author>
      <dc:creator>ISHAAN PATEL</dc:creator>
      <content:encoded><![CDATA[I am trying to open a .txt file which is in my assets folder. The name is &quot;Maze1.txt&quot;. I am sort of new to these things so I was wondering if someone can help me read the text from this file. Thank you so much. If there is any more information needed, please tell me. <img src="styles/default/xenforo/clear.png" class="mceSmilieSprite mceSmilie1" alt=":)" title="Smile    :)" /><br />
<br />
<a href="https://stackoverflow.com/questions/62523640/angular-how-do-i-read-a-text-file-located-in-the-assets-folder" target="_blank" class="externalLink" rel="nofollow">Continue reading...</a>]]></content:encoded>
    </item>
    <item>
      <title>TypeError: is not a function in TypeScript class</title>
      <pubDate>Fri, 28 Nov 2025 13:02:56 +0000</pubDate>
      <link>http://www.4each.com.br/threads/typeerror-is-not-a-function-in-typescript-class.165303/</link>
      <guid>http://www.4each.com.br/threads/typeerror-is-not-a-function-in-typescript-class.165303/</guid>
      <author>Aaron Balthaser</author>
      <dc:creator>Aaron Balthaser</dc:creator>
      <content:encoded><![CDATA[I&#039;m getting the following error in my TypeScript class. I am trying to call a helper function passing the token.<br />
<br />
Error:<br />
<br />
<div style="padding-left: 30px"><br />
post error: TypeError: this.storeToken is not a function(…)<br />
&#8203;</div><br />
Class:<br />
<br />
/**<br />
 * Authentication Service:<br />
 *<br />
 * Contains the http request logic to authenticate the<br />
 * user.<br />
 */<br />
import { Injectable } from &#039;@angular/core&#039;;<br />
import { Http, Response, Headers, RequestOptions } from &#039;@angular/http&#039;;<br />
<br />
import &#039;rxjs/Rx&#039;;<br />
import { Observable } from &#039;rxjs/Observable&#039;;<br />
<br />
import { AuthToken } from &#039;./auth-token.service&#039;;<br />
<br />
import { User } from &#039;../../shared/models/user.model&#039;;<br />
<br />
@Injectable()<br />
export class Authenticate {<br />
<br />
  constructor(<br />
    private http: Http,<br />
    private authToken: AuthToken<br />
  ) {}<br />
<br />
  post(user: User): Observable&lt;any&gt; {<br />
    let url = &#039;<a href="http://localhost:4000/';" target="_blank" class="externalLink" rel="nofollow">http://localhost:4000/';</a><br />
    let body = JSON.stringify(user);<br />
    let headers = new Headers({ &#039;content-type&#039;:...<br />
<br />
<a href="http://www.4each.com.br/threads/typeerror-is-not-a-function-in-typescript-class.165303/" class="internalLink">TypeError: is not a function in TypeScript class</a>]]></content:encoded>
    </item>
    <item>
      <title>Filter PrimeNG Table on Init using .ts code</title>
      <pubDate>Fri, 28 Nov 2025 12:22:41 +0000</pubDate>
      <link>http://www.4each.com.br/threads/filter-primeng-table-on-init-using-ts-code.165295/</link>
      <guid>http://www.4each.com.br/threads/filter-primeng-table-on-init-using-ts-code.165295/</guid>
      <author>Domagoj Hamzic</author>
      <dc:creator>Domagoj Hamzic</dc:creator>
      <content:encoded><![CDATA[I need to filter the table on view load.<br />
<br />
For example, I have a table with 5 columns (Woid, Customer, AdapterID, Assignee, Status). On load, I want to filter woid column using &#039;contains&#039;. I accomplished filtering onLoad but when I want to filter again that column later I got an <i>error</i>:<br />
<br />
<div style="padding-left: 30px"><br />
<i>&#039;Cannot find a differ supporting object &#039;[object Object]&#039; of type &#039;object&#039;. NgFor only supports binding to Iterables such as Arrays.&#039;</i><br />
&#8203;</div><br />
Program code below...<br />
<br />
@ViewChild(&#039;dt&#039;, { static: true }) dt: any;<br />
ngOnInit() {<br />
    this.dt.filter(&#039;22&#039;, &#039;woid&#039;, &#039;contains&#039;);<br />
}<br />
<br />
<br />
<a href="https://i.sstatic.net/igQ2s.png" target="_blank" class="externalLink" rel="nofollow"><img src="https://i.sstatic.net/igQ2s.png" class="bbCodeImage LbImage" alt="[&#x200B;IMG]" data-url="https://i.sstatic.net/igQ2s.png" /></a><br />
<br />
Also, after filtering via .ts code (woid filter) and directly in view with &lt;p-columnFilter&gt; (customer filter) from PrimeNG Angular collection, I get this JSON. woid property is not an array, unlike custom which is....<br />
<br />
<a href="http://www.4each.com.br/threads/filter-primeng-table-on-init-using-ts-code.165295/" class="internalLink">Filter PrimeNG Table on Init using .ts code</a>]]></content:encoded>
    </item>
    <item>
      <title>Attribute inputs vs explicit inputs in Angular</title>
      <pubDate>Fri, 28 Nov 2025 11:43:17 +0000</pubDate>
      <link>http://www.4each.com.br/threads/attribute-inputs-vs-explicit-inputs-in-angular.165292/</link>
      <guid>http://www.4each.com.br/threads/attribute-inputs-vs-explicit-inputs-in-angular.165292/</guid>
      <author>Lukasz Prus</author>
      <dc:creator>Lukasz Prus</dc:creator>
      <content:encoded><![CDATA[Which approach to passing static string values as inputs to an Angular component is considered a better practice and is more performant?<br />
<br />
Pass input via an attribute<br />
<br />
&lt;some-component color=&quot;red&quot; /&gt;<br />
<br />
<br />
or pass it explicitly<br />
<br />
&lt;some-component [color]=&quot;&#039;red&#039;&quot; /&gt;<br />
<br />
<br />
Does either of them result in fewer CD checks, ngOnchanges calls, or has DOM access advantages?<br />
<br />
<a href="https://stackoverflow.com/questions/79832494/attribute-inputs-vs-explicit-inputs-in-angular" target="_blank" class="externalLink" rel="nofollow">Continue reading...</a>]]></content:encoded>
    </item>
    <item>
      <title>ngx cron editor not patching value on edit mode in angular12</title>
      <pubDate>Fri, 28 Nov 2025 09:42:50 +0000</pubDate>
      <link>http://www.4each.com.br/threads/ngx-cron-editor-not-patching-value-on-edit-mode-in-angular12.165269/</link>
      <guid>http://www.4each.com.br/threads/ngx-cron-editor-not-patching-value-on-edit-mode-in-angular12.165269/</guid>
      <author>Prashant G</author>
      <dc:creator>Prashant G</dc:creator>
      <content:encoded><![CDATA[I am using Angular 12 with the package ngx-cron-editor@0.7.0. The cron editor renders correctly, but when I try to patch an existing cron expression into my reactive form, the UI of the cron editor does not update. The FormControl value changes, but the editor continues to show default values instead of the patched cron.<br />
<br />
Example:<br />
<br />
   &lt;cron-editor<br />
          [formControlName]=&quot;cronConfigConstant.cronConfigFormDetails.cronExpression.key&quot;<br />
          [options]=&quot;cronOptions&quot;&gt;<br />
      &lt;/cron-editor&gt;<br />
private patchCronForm() {<br />
    this.cronConfigService.editCronFormSub<br />
    .pipe(takeUntil(this.destroySubscription))<br />
    .subscribe((resp: CronDetailsModel) =&gt; {<br />
       // --- ADD THESE LOGS ---<br />
        console.log(&#039;Incoming Data object:&#039;, resp);<br />
        console.log(&#039;API value for cron_expression:&#039;, resp?.cron_expression);<br />
      if (resp) {<br />
        this.editCronId = resp?.id...<br />
<br />
<a href="http://www.4each.com.br/threads/ngx-cron-editor-not-patching-value-on-edit-mode-in-angular12.165269/" class="internalLink">ngx cron editor not patching value on edit mode in angular12</a>]]></content:encoded>
    </item>
    <item>
      <title>What tools does Angular team use to design svg?</title>
      <pubDate>Fri, 28 Nov 2025 06:42:59 +0000</pubDate>
      <link>http://www.4each.com.br/threads/what-tools-does-angular-team-use-to-design-svg.165249/</link>
      <guid>http://www.4each.com.br/threads/what-tools-does-angular-team-use-to-design-svg.165249/</guid>
      <author>anlex N</author>
      <dc:creator>anlex N</dc:creator>
      <content:encoded><![CDATA[I am reviewing [Angular](<a href="https://github.com/angular/angular" target="_blank" class="externalLink" rel="nofollow">https://github.com/angular/angular</a>) source code.<br />
<br />
what tools does Angular team use to design these svg? I take some for example:<br />
<br />
//adev/src/assets/images/overview.svg<br />
//adev/src/assets/images/roadmap.svg<br />
//adev/src/assets/images/templates.svg<br />
<br />
<br />
I have searched google, but can not find solutions.<br />
<br />
I can use <b>Adobe Illustrators</b>, if Angular team also use Adobe Illustrators, can you give me your svg&#039;s .ai files?<br />
<br />
<a href="https://stackoverflow.com/questions/79832286/what-tools-does-angular-team-use-to-design-svg" target="_blank" class="externalLink" rel="nofollow">Continue reading...</a><br />
<br />
<a href="http://www.4each.com.br/threads/what-tools-does-angular-team-use-to-design-svg.165249/" class="internalLink">What tools does Angular team use to design svg?</a>]]></content:encoded>
    </item>
    <item>
      <title>Angular Aria Autocomplete Feature - Compilation Error</title>
      <pubDate>Fri, 28 Nov 2025 01:13:27 +0000</pubDate>
      <link>http://www.4each.com.br/threads/angular-aria-autocomplete-feature-compilation-error.165216/</link>
      <guid>http://www.4each.com.br/threads/angular-aria-autocomplete-feature-compilation-error.165216/</guid>
      <author>freedomdev</author>
      <dc:creator>freedomdev</dc:creator>
      <content:encoded><![CDATA[I am working with a .NET + Angular WebApp Project<br />
<br />
I added Angular Aria to the Angular project hoping to use their Autocomplete feature for a Select Box.<br />
<br />
I copied the code directly from the first example on the angular page. <a href="https://angular.dev/guide/aria/autocomplete" target="_blank" class="externalLink" rel="nofollow">https://angular.dev/guide/aria/autocomplete</a><br />
<br />
However, trying to use this code is yielding Typescript error messages on compilation.<br />
<br />
<div style="padding-left: 30px"><br />
TS2551: Property &#039;<b>@ɵINPUT_SIGNAL_BRAND_WRITE_TYPE@1584&#039; does not exist on type &#039;InputSignal&lt;&quot;auto-select&quot; | &quot;manual&quot; | &quot;highlight&quot;&gt;&#039;. Did you mean &#039;</b>@ɵINPUT_SIGNAL_BRAND_WRITE_TYPE@3762&#039;? [plugin angular-compiler]<br />
&#8203;</div><br />
src/app/autocomplete/autocomplete.component.html:1:16:<br />
  1 │ &lt;div ngCombobox filterMode=&quot;auto-select&quot;&gt;<br />
    ╵                 ~~~~~~~~~~<br />
<br />
<div style="padding-left: 30px"><br />
X [ERROR] TS2551: Property &#039;<b>@ɵINPUT_SIGNAL_BRAND_WRITE_TYPE@1584&#039; does not exist on type &#039;InputSignal&#039;. Did you mean...</b>&#8203;</div><br />
<a href="http://www.4each.com.br/threads/angular-aria-autocomplete-feature-compilation-error.165216/" class="internalLink">Angular Aria Autocomplete Feature - Compilation Error</a>]]></content:encoded>
    </item>
    <item>
      <title>Ionic Angular ion-content inner-scroll has zero height on iOS preventing scrolling - all...</title>
      <pubDate>Thu, 27 Nov 2025 22:52:43 +0000</pubDate>
      <link>http://www.4each.com.br/threads/ionic-angular-ion-content-inner-scroll-has-zero-height-on-ios-preventing-scrolling-all.165202/</link>
      <guid>http://www.4each.com.br/threads/ionic-angular-ion-content-inner-scroll-has-zero-height-on-ios-preventing-scrolling-all.165202/</guid>
      <author>MatthewSamaha</author>
      <dc:creator>MatthewSamaha</dc:creator>
      <content:encoded><![CDATA[I have an Ionic Angular application where <b>scrolling is completely broken on iOS</b> (Safari, Firefox, Edge - all WebKit-based). Desktop browsers work perfectly. The diagnostic evidence shows that the .inner-scroll element inside ion-content&#039;s shadow DOM has <b>completely collapsed to zero height</b>.<br />
<br />
<span style="font-size: 15px"><b>Environment</b></span><br />
<br />
<ul>
<li><br />
<b>Ionic</b>: with Angular standalone components<br />
<br />
</li>
<li><br />
<b>Platform</b>: iOS (all browsers)<br />
<br />
</li>
<li><br />
<b>Status</b>: Desktop works fine, iOS completely broken<br />
<br />
</li>
<li><br />
<b>Behavior</b>: Can only &quot;wiggle&quot; content a few pixels, no actual scrolling<br />
</li>
</ul><span style="font-size: 15px"><b>Current Setup</b></span><br />
<br />
<br />
<b>Template:</b><br />
<br />
html<br />
<br />
&lt;ion-content [fullscreen]=&quot;true&quot; class=&quot;safe-area-padding&quot;&gt;<br />
  &lt;!-- Page content here --&gt;<br />
&lt;/ion-content&gt;<br />
<br />
<br />
<b>Relevant Global CSS:</b><br />
<br />
scss<br />
<br />
ion-content {<br />
  --background: var(--ion-background-color);<br />
  --color: var(--ion-text-color);...<br />
<br />
<a href="http://www.4each.com.br/threads/ionic-angular-ion-content-inner-scroll-has-zero-height-on-ios-preventing-scrolling-all.165202/" class="internalLink">Ionic Angular ion-content inner-scroll has zero height on iOS preventing scrolling - all...</a>]]></content:encoded>
    </item>
    <item>
      <title>How do I get the selected Item in a Tabmenu from Primeng?</title>
      <pubDate>Thu, 27 Nov 2025 19:42:49 +0000</pubDate>
      <link>http://www.4each.com.br/threads/how-do-i-get-the-selected-item-in-a-tabmenu-from-primeng.165184/</link>
      <guid>http://www.4each.com.br/threads/how-do-i-get-the-selected-item-in-a-tabmenu-from-primeng.165184/</guid>
      <author>TheWandererr</author>
      <dc:creator>TheWandererr</dc:creator>
      <content:encoded><![CDATA[I have a simple MenuItem Array that I use to fill the Tabmenu component from primeng. This looks something like this:<br />
<br />
<i>.ts</i> file:<br />
<br />
items = MenuItem[];<br />
activeItem = MenuItem;<br />
<br />
// Constructor, etc...<br />
<br />
ngOnInit() {<br />
<br />
    this.items = [<br />
            {label: &#039;Homework&#039;, icon: &#039;fa-file-pdf-o&#039;},<br />
            {label: &#039;Movies&#039;, icon: &#039;fa-file-pdf-o&#039;},<br />
            {label: &#039;Games&#039;, icon: &#039;fa-file-pdf-o&#039;},<br />
            {label: &#039;Pictures&#039;, icon: &#039;fa-file-pdf-o&#039;}<br />
        ];<br />
    this.activeItem = this.items[2]<br />
}<br />
<br />
<br />
<i>.html</i> file:<br />
<br />
&lt;p-tabMenu [model]=&quot;items&quot; [activeItem]=&quot;activeItem&quot;&gt;&lt;/p-tabMenu&gt;<br />
<br />
<br />
I know I can set the Active item of the tabmenu with the help of the activeItem like so:<br />
<br />
this.activeItem = this.items[2]<br />
<br />
<br />
Can I somehow retrieve the activeItem on click? E.g.,<br />
<br />
&lt;p-tabMenu [model]=&quot;items&quot; [activeItem]=&quot;activeItem&quot; (click)=&quot;getActiveItem(...)&quot;&gt;&lt;/p-tabMenu&gt;<br />
<br />
<br />
getActiveItem Method:...<br />
<br />
<a href="http://www.4each.com.br/threads/how-do-i-get-the-selected-item-in-a-tabmenu-from-primeng.165184/" class="internalLink">How do I get the selected Item in a Tabmenu from Primeng?</a>]]></content:encoded>
    </item>
  </channel>
</rss>
