1
resposta

Se em confirmacao colocar um valor diferente de boolean?

Coloquei um valor DIFERENTE de boolean e mostrou a mensagem estranha.

Se colocar assim, funciona: v-bind:confirmacao='true'

Se colocar assim, aparece a mensagem do vídeo: confirmacao='true' Invalid prop: type check failed for prop "confirmacao". Expected Boolean, got String with value "true".

Se colocar assim, aparecem também duas mensagens confirmacao=true Invalid prop: type check failed for prop "confirmacao". Expected Boolean, got String with value "true". Invalid prop: type check failed for prop "confirmacao". Expected Boolean, got String with value "true".

Se colocar assim, aparecem DUAS mensagens: confirmacao='tCCCCrue' Invalid prop: type check failed for prop "confirmacao". Expected Boolean, got String with value "true". Invalid prop: type check failed for prop "confirmacao". Expected Boolean, got String with value "true".

Se colocar assim, NAO mostra a mensagem de Expected Boolean v-bind:confirmacao='tCCCCrue' Property or method "truxxxe" is not defined on the instance but referenced during render.

Enfim, só uma observação.

1 resposta

Fala ai Luis, tudo bem? Boa, muito bom as observações, obrigada por compartilhá-las.

Abraços e bons estudos.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software