Skip to content

autocorrect missing from <textarea> html props in Svelte 5 #14673

@rileylyman

Description

@rileylyman

Describe the bug

Setting autocorrect=on or off in a <textarea> tag gives this error:

Object literal may only specify known properties, and '"autocorrect"' does not exist in type 'HTMLProps<"textarea", HTMLAttributes<any>>'.ts(2353)
(property) "autocorrect": string

Reproduction

Add a <textarea autocorrect=on> </textarea> to a Svelte 5 app.

Logs

No response

System Info

System:
    OS: Windows 11 10.0.22621
    CPU: (24) x64 AMD Ryzen 9 3900X 12-Core Processor
    Memory: 18.03 GB / 31.94 GB
  Binaries:
    Node: 23.1.0 - ~\scoop\apps\nvm\current\nodejs\nodejs\node.EXE
    npm: 10.9.0 - ~\scoop\apps\nvm\current\nodejs\nodejs\npm.CMD
  Browsers:
    Firefox: 133.0

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions