[Question] how to disable to set the defaultValue to all the questions?
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 25/100
- Tipo de issue
- Bug
- Clareza
- Precisa de esclarecimento
- Status de atividade
- Estagnada
- Stack de tecnologia
- angular, typescript
- Domínio
- frontend
Direção de pesquisa
Comece reproduzindo o comportamento reportado de change() do EventEmitter no formulário Angular mostrado na issue, usando a resposta de exemplo fornecida e uma pergunta sem entrada do usuário. Identifique onde o defaultValue vazio é introduzido e defina done como retornando undefined ou null quando o usuário não tiver respondido; nenhum arquivo-fonte ou teste é nomeado na issue.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 706
- Forks
- 493
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de formio/angular
-
question
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
-
[BUG] <form-builder> move icon is missingTalvez livre de novo @PrathameshHegde assumiu há 99 dias e não há nenhum pull request aberto. Abertabug
-
[Question] Version 10.0Abertaquestion
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 25/100
-
[BUG] "Left (Right-aligned)" label position causes misaligned error messages and descriptionsTalvez livre de novo @Victoriya25 assumiu há 363 dias e não há nenhum pull request aberto. Abertabug
-
question
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
Todas as issues de formio/angular
Issues semelhantes
-
bot:ai-assisted component:platform-js status:untriaged
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 74/100
midnightntwrk/platform-js#38 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
ranxianglei/billion-context#7068 ·
Mantenedores costumam responder em até 1 dia
-
vendor: bump whisper.cpp past 6a8addd — the current pin aborts the app on a failed Metal initAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
mybigday/whisper.rn#348 ·
-
enhancement severity:low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Battle-Cattle/BCUK-Bot-4#1075 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
ilan-pinto/roaring-lions#1552 ·
Mantenedores costumam responder em até 1 dia