Skip to content

[Bug]: uuid does not seem to execute on selection change trigger #129

Closed
@WinstonPoh

Description

@WinstonPoh

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

First of all thank you for continuing this awesome work! This is an great project and I'm really enjoying trying it out.

I have created a form with a selection dropdown, that triggers on Changed event to set a temporary state to the value uuid.v1().
Screenshot from 2023-05-11 11-28-31

As you can see in the image, uuid.v1() does run and the state is set correctly, which is great. However, it does not trigger when the selection is changed each time, or perhaps, it does run uuid.v1() but the value is the same somehow.

I opened up the browser console and running uuid.v1() repeatedly gave random uuids as expected

Thanks in advance!

Expected Behavior

I expected project_state.id to be updated to a new random UUID each time the selection is changed for the dropdown

Steps to reproduce

  1. create a new app
  2. add a new Select component
  3. add a new temporary state
  4. add Select component's Properties > Interaction > Event handler like so:
    Selection_028
  5. open up temporary state on left sidebar to view its value
  6. change selection for the Select component between the default Options 1 and 2.
  7. The temporary state remains the same value when it should have changed each time randomly

Environment

Ubuntu, just trying it out on https://app.lowcoder.cloud/

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingHelp wantedExtra attention is neededJavascript FrontendPull requests that update Javascript code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions