[Question] About the decision of use setFormFromSrc() only OnInit and not OnChange on Form lifecycle
@Tatsiana8 がすでに取り組んでいます。
2025年4月30日 から。
評価
この issue はまだ評価されていません。
説明
Hello guys!
I was implementing some formio tasks at work last friday and we needed to change dinamically between differents Forms. When I changed @ Input() src the component was'nt re-render itself, so I needed to force it manually playing with value based condition and the method detectChanges().
The solution works but this behaviour looked strange to me so I've been reading the source code of "FormioBaseComponent"
and saw that the method that control that "setFormFromSrc()" it's only used OnInit.
Powerful as it is render a Formio Form in our Angulars projects only with the src value, why is it not watched the changes to trigger a re-render? I imagine that there is a good reason, but I can't see it and I'm curious about it!
Thank you in advance :)
- 主要言語
- TypeScript
- スター
- 706
- フォーク
- 493
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
formio/angular のほかの issue
-
question
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
[BUG] <form-builder> move icon is missing再び着手できるかも @PrathameshHegde が 101 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
-
question
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
-
[BUG] "Left (Right-aligned)" label position causes misaligned error messages and descriptions再び着手できるかも @Victoriya25 が 365 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
-
question
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
milind-soni/OpenMausBot#6730 ·
メンテナーはふだん 1 日以内に返信
-
`@angular/[email protected]` depends on vulnerable Vite 7.3.7 - GHSA-p4f5-76q4-ffq7 (Critical RCE)オープンarea: @angular/build
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
angular/angular-cli#34764 ·
メンテナーはふだん 1 日以内に返信
-
status/need-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
google-gemini/gemini-cli#30384 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
P2
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
area:image documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信