Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]: onChange setValue event updating temporary state with incorrect value #1744

Closed
Assignees
raheeliftikhar5
Labels
BugSomething isn't workingJavascript FrontendPull requests that update Javascript code
@James4L

Description

@James4L

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

since the 2.7 update - onchange event "set temporary state value" doesn't seem to be working correctly and records the previous value instead of the current value.

This is happening in existing and new modules.

Expected Behavior

onChange setValue should update the correct value into the temporary state

Steps to reproduce

Create temporary state called state1. Create input text box called input1. Create onchange handler on input1 to setValue on state1 to {input1.value} observe the value of state1

Image

Here I set value of input 1 to "aa" yet state1 remained empty. Then I change value of input1 to "aabb" and state1 gets a value of "aa". If I change state1 to "aabbcc" state1 changes to "aabb" .

Image

Environment

Lowcoder Cloud

Additional Information

No response

Metadata

Metadata

Labels

BugSomething isn't workingJavascript FrontendPull requests that update Javascript code

Type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp