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

radio/checkbox lables in datagrid bound to first item #94

Closed
mikethm opened this issue May 11, 2017 · 9 comments
Closed

radio/checkbox lables in datagrid bound to first item #94

mikethm opened this issue May 11, 2017 · 9 comments

Comments

@mikethm
Copy link

mikethm commented May 11, 2017

clicking on a label for radio buttons or checkboxes will select option on the first item in a datagrid, even if the user is clicking on the 2nd or 3rd datagrid entry.

However, clicking directly on the box (checkbox) or circle (for radio) works as expected

behaviour as at rc.12

@travist
Copy link
Member

travist commented May 12, 2017

Please try the latest version RC14 and let me know if this is resolved.

@mikethm
Copy link
Author

mikethm commented May 13, 2017

Thanks for your work - unfortunately rc14 still has the issues:

Some additional context to help:

Panel->datagrid->column->radio/checkbuttons (inside a column in a datagrid inside a panel)
clicking radio label doesn't do anything
clicking radio circle on any item will remove any selection from all other instances of the same radio item

Panel->Datagrid->radiobutton (datagrid inside a panel)
-> clicking on an any radiobutton instance will select the first instance's equivalent radiobutton

@travist
Copy link
Member

travist commented May 22, 2017

Is there any way we can get a form URL that illustrates these problems?

@mikethm
Copy link
Author

mikethm commented May 22, 2017

yes. same form URL listed in #95 accompanying video also shows it

@travist
Copy link
Member

travist commented May 22, 2017

I can reproduce, but this may be a input name key issue. I will try to get it fixed in next version.

@mikethm
Copy link
Author

mikethm commented May 24, 2017

i think you are right. in datagrids, the generated checkboxes all have an 'undefined' prefix, which is why all the subsequent ones bind to the first one when you click the labels. there are multiple checkboxes all with the same undefined- id.
Yes

@mikethm
Copy link
Author

mikethm commented May 24, 2017

update: in datagrid, clicking on any radio button (any part of it) will change the first of the datagrid set, even if you are selecting the second or third 'groups' created by the datagrid

@travist
Copy link
Member

travist commented May 24, 2017

Thanks @mtsang . I will look into this as soon as possible.

@travist
Copy link
Member

travist commented May 25, 2017

Should be fixed in RC18.

@travist travist closed this as completed May 25, 2017
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