[Question] how to disable to set the defaultValue to all the questions?

オープン
#1,056 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
angular, typescript
領域
frontend

調査の方向性

まず、提供されたサンプルレスポンスとユーザー入力のない質問を使用して、Issue に示されている Angular フォームで報告された change() の EventEmitter 動作を再現します。空の defaultValue がどこで導入されるかを特定し、ユーザーが回答していない場合に done が undefined または null を返すものとして定義します。Issue ではソースファイルもテストも指定されていません。

索引モデルが issue の本文から書いたものです。

説明

question

Hi,

I'm struggling for this, i'm wathcing for change() emitter and everytime there's a changes i was able to get the data object meaning this is the answers of the questions, but i already set the defaultValue to null or removed it in the json, still the return in change() still has defaultValue.

Expected is when the user doesn't do anything to the form like set no answer to the question, the response from the change should be undefined or null.

here's the sample return from the change eventemitter. i didnt do anything to the question but it has "" empty value.

Screenshot 2024-03-13 at 4 11 07 PM

主要言語
TypeScript
スター
706
フォーク
493
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

formio/angular のほかの issue

formio/angular の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。