lowcoder
lowcoder copied to clipboard
[Bug]: Value of select component get not updated
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.
Expected Behavior
The value schuld be changed. In the Playground it work like expected. https://app.lowcoder.cloud/playground/select/1
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
not sure, but there is change lately in this component regarding how it update it's value here
+1
I am having the same issue, the select.value is not updated. All my apps using this component broke
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.
We fixed it now. It will be contained in the 2.3.1 release
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".
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.