Skip to content

[🐞] Change input value from "something" to undefined sets the value as "null" #8146

@gnemanja

Description

@gnemanja

Which component is affected?

Qwik Runtime

Describe the bug

If you set the value of an input from string to undefined, "null" be written

Reproduction

https://qwikdev-build-v2.qwik-8nx.pages.dev/playground/#f=Q0o0JpYG2BKNDqL2pbBVAq3u83NTIbWGLcJkDWDZnZoGLEJSNLm4gErJb8MA5TPBtT8wf5YCK3K4dXpggVpQkMADDNySQVTg1RqatnYgl0IAmlage9WT8%2FNzFNWhKmpr7cAaFYAlbUm%2BQnJGYh6wVAJXnUAeUCW8rUS2hfBgIWglRAdQDK4F1Xbkth3uzGpoidQcJSWzoiSI0axKi6wKAA

Steps to reproduce

Initial value is undefiend

  1. Click the first button to set it to 'cool'
  2. Click the second button to set it to undefined
    The value will be null

System Info

not applicable

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions