Skip to content

Unable to use newlines in custom field values #16837

@oSumAtrIX

Description

@oSumAtrIX

Steps To Reproduce

Fields can be multiline and should accept arbitrary strings, however newlines are forbidden for unknown reasons:

Expected Result

Newlines should be possible, for example, through a textarea.

Actual Result

Newlines are stripped.

Screenshots or Videos

Image

Additional Context

The field would be helpful to autofill encoded SSH keys, which rely on multiline strings for example. I know, SSH exists as a separate type, but it does not support autofill. Newlines should be possible for arbitrary reason regardless.

Operating System

Windows

Operating System Version

11

Web Browser

Microsoft Edge

Browser Version

No response

Environment Versions

Version: 2025.9.0

SDK: 'main (ab3c7db)'

Server version (Third-party): 2025.6.0

Connected to third-party server implementation, Vaultwarden. Please verify bugs using the official server, or report them to the third-party server.

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions