Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new value of list disappear after pressing save #2576

Open
peterhorvathAV opened this issue Oct 28, 2024 · 0 comments
Open

new value of list disappear after pressing save #2576

peterhorvathAV opened this issue Oct 28, 2024 · 0 comments

Comments

@peterhorvathAV
Copy link

Short description
I copied the code of grid demo 22 to a grid.html and a grid.js. I also downloaded the w2ui-2.0.css and w2ui-2.0.js files.
The new value of lists disappear after pressing save button.

What is current behavior
The text of the list disappear after pressing the save button.
It seems that the field in the record associated with the list element contains the text not the id. therefore it can't be rendered.

What is desired behavior
The text should not disappear and the respective field should contain the id,

Link to jsfidle/codepan with sample code

the grid. html:

<title>W2UI save: grid/22</title>
<script src='./w2ui-2.0.js'></script> <script src='./grid.js'></script> [grid.zip](https://github.com/user-attachments/files/17549009/grid.zip) [grid.zip](https://github.com/user-attachments/files/17549014/grid.zip)

The grid.js is simple the original code between <script> and </script>

Steps to reproduce or sample
1 open the grid.html
2 change any of the list fields by double clocking on it and selecting a new item
3 press save button

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant