[Bug]: Cannot type spaces in "Type your own answer" input field

Author: umstekCreated Sep 12, 2026Updated Sep 17, 2026
Labelsbughelp wanted

Before you submit

  • I searched existing issues and confirmed this is not a duplicate.
  • I replaced the example text with the real behavior, reproduction steps, expected result, and version from the app's About menu or od --version.

What happened?

When typing in the "Type your own answer" input field, space characters are not allowed and appear to be trimmed or stripped from the input. However, if I copy and paste content that includes spaces, it works correctly.

Unfortunately I cannot paste screenshots, I get blocked by GitHub due to CSP issues.

Steps to reproduce

  1. Open a survey form with a "Write your own" option that provides an input field
  2. Click on the "Type your own answer" input field
  3. Type an answer that includes spaces (e.g., "hello world")
  4. Observe that spaces are not appearing in the input field
  5. Try copy-pasting the same text with spaces
  6. Observe that the pasted text with spaces appears correctly in the field

Expected behavior

Users should be able to type spaces directly in the input field just like any normal text input. The behavior should be consistent whether typing or pasting content.

OpenDesign version

0.22.2

Platform

Windows

Logs (optional)

Screenshots (optional)

No response

Additional context

This appears to be a deliberate validation or input filtering that prevents spaces from being typed, but allows them when pasting. There is no clear reason why typing spaces should be restricted while pasting them is allowed.