Value of input doesn’t update after paste

  • Michael Groß
    Participant
      Has successfully completed the online course Intermediate (200)
      Has successfully completed the online course Basics (100)
    2 years, 4 months ago #36536

    Hi everyone,

    I try to use an input widget and store the value into a variable using the “value” binding. But if I delete the current text and paste some new text into the field the value doesn’t update. Only if I delete one letter and replace it manually the value changes. Is there anything I have to do to handle copy and pasted text?

    Jennifer Häfner
    Moderator
      Has successfully completed the online course Intermediate (200)
      Has successfully completed the online course Advanced (300)
      Has successfully completed the online course Basics (100)
      Has successfully completed the online course Advanced (310)
      Has successfully completed the online course Advanced (320)
      Has successfully completed the Intermediate Certification
      Has successfully completed the Advanced Certification
    2 years, 4 months ago #36561
    Up
    1
    Down
    ::

    Hi Michael,

    Have you tried setting the property ‘valueLiveUpdate’ to true for the Input? With this property, the Input’s value gets updated onLiveChange. If it is set to false, it gets updated onChange.

    Michael Groß
    Participant
      Has successfully completed the online course Intermediate (200)
      Has successfully completed the online course Basics (100)
    2 years, 4 months ago #36562
    Up
    0
    Down
    ::

    Hi Jennifer,

    This resolved the issue. Thank you very much.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.