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

w2grid column's editable with type='select' work ok in v1.5 but NOT work in v2.0 #2535

Open
vinhpt2 opened this issue Jun 28, 2024 · 5 comments

Comments

@vinhpt2
Copy link

vinhpt2 commented Jun 28, 2024

We now have stuck when update application from w2ui v1.5 to w2ui v2.0 because
"w2grid column's editable with type='select' work ok in v1.5 but NOT work in v2.0".
Please fix. Thanks!

@vinhpt2
Copy link
Author

vinhpt2 commented Jun 29, 2024

w2grid column's editable with type='combo' also not work.
Type='list' have error:
"TypeError: query(...).find(...).focus is not a function
at HTMLDivElement. (w2ui.es6.min.js:475:1023)"

@vitmalina
Copy link
Owner

Type select is deprecated. Use type list. As for combo field, it should work

@vinhpt2
Copy link
Author

vinhpt2 commented Oct 21, 2024

What a pity when 2.0 not support select control when edit grid inline. Can I contribute 100USD for bring it back. Any one want to contribute with me? Thanks in advance.

@vitmalina
Copy link
Owner

Thank you for you offer. I am just curious about type: 'list'. Is there an issue for you to use it? Is is very similar to select and should provide similar experience. Here is a link to the demo page where it is implemented: https://w2ui.com/web/demos/#/grid/21

@vinhpt2
Copy link
Author

vinhpt2 commented Oct 24, 2024

Thanks for your reply!
First of all if input data by keyboard the "select" is more quick and familiar with "list". When use Safari or Chrome on mobile, 'list' cannot compare with 'select' because iOS or Android is support 'select' not 'list'.
The second is we use both w2form and w2grid to show data. So in form use 'select' in grid use 'list' is not good ui/ux.

By the way please answer, It there any way to customize new type of w2field in w2ui-2.x. With w2ui-1.x we can do it with jquery $.

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

2 participants