Skip to content

Impossible to insert spaces to the Other input field when "textUpdateMode": "onTyping" #10402

@JaneSjs

Description

@JaneSjs

T25017 - Spaces are removed from Other option comment box while typing (only when textUpdateMode is onTyping)
https://surveyjs.answerdesk.io/internal/ticket/details/T25017


{
  "pages": [
    {
      "name": "page1",
      "elements": [
        {
          "type": "radiogroup",
          "name": "question1",
          "choices": [
            "Item 1",
            "Item 2",
            "Item 3"
          ],
          "showOtherItem": true
        }
      ]
    }
  ],
  "textUpdateMode": "onTyping"
}
  • Select 'Other' and type 'this is a test'
  • Spaces won't be preserved while typing:
Image

Metadata

Metadata

Assignees

Labels

buguser issueAn issue or bug reported by users

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions