diff --git a/src/input/input.ts b/src/input/input.ts index 27ca5222e..78df830f2 100644 --- a/src/input/input.ts +++ b/src/input/input.ts @@ -36,8 +36,8 @@ export default class Input extends SuperComponent { lifetimes = { ready() { - const { value } = this.properties; - this.updateValue(value ?? ''); + const { value, defaultValue } = this.properties; + this.updateValue(value ?? defaultValue ?? ''); }, };