lowcoder icon indicating copy to clipboard operation
lowcoder copied to clipboard

[Bug]: Value of select component get not updated

Open der-berni opened this issue 1 year ago • 5 comments
trafficstars

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

I have created a select component from a sql query or mapped the data from an array. The value is not changed. Not even in the preview. Animation

Expected Behavior

The value schuld be changed. In the Playground it work like expected. https://app.lowcoder.cloud/playground/select/1

Animation

Steps to reproduce

Create a select component with "Map" and Data: [{id:0,name:test0},{id:1,name:test1}]

Environment

lowcoder running in docker with: lowcoderorg/lowcoder-ce-frontend:latest Version: 2.3.0-#92196587

Additional Information

No response

der-berni avatar Feb 20 '24 16:02 der-berni

not sure, but there is change lately in this component regarding how it update it's value here

yofriadi avatar Feb 21 '24 03:02 yofriadi

+1

I am having the same issue, the select.value is not updated. All my apps using this component broke

image

superlaser97 avatar Feb 21 '24 06:02 superlaser97

Can confirm the same on the latest dockers (front/node/api) service on google cloud-run. Moved back to 2.3 all seems good from there.

dizzy-duality avatar Feb 21 '24 19:02 dizzy-duality

We fixed it now. It will be contained in the 2.3.1 release

FalkWolsky avatar Feb 23 '24 15:02 FalkWolsky

Sometimes one wants to make it right - but we forgot the "past". Background is, that we separated the "Default Value" from the "actual value" in the select. This was important, since we had the state, that when you set a Default Value, it would not change by user action and so the user action was not taken into account in connected Components like "List".

We introduced the Default Value "next" to the "value" - but that means, that as for "today" you would need to touch all apps and set a Default value. This is possible - but not the good approach from us. So we work in the next days a solution, where this small "touch" will happen automatically, so existing apps will work then "again".

FalkWolsky avatar Mar 04 '24 20:03 FalkWolsky

We think to close this issue as for now. Or did we wrong and it remains a pressing issue for you? In case yes, please re-open the issue again.

FalkWolsky avatar Jul 21 '24 16:07 FalkWolsky