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

Automatically add String as a generic type parameter #1749

Closed
ripla opened this issue May 2, 2018 · 1 comment
Closed

Automatically add String as a generic type parameter #1749

ripla opened this issue May 2, 2018 · 1 comment
Assignees
Milestone

Comments

@ripla
Copy link
Contributor

ripla commented May 2, 2018

When a component supports generics, user java.lang.String as the default type and notify the user.

Should work for at least the core Vaadin components from Flow.

@szolo
Copy link
Contributor

szolo commented Jul 23, 2018

I have big doubts about user notification. What we should do? Provide a popup all the time? User will see what kind of type argument is used when he will start writing code. I skipped notification for now, can be easily added later with some thoughts about UX.

Also, String type argument will be used for this Flow components:

ComboBox
IronList
ListBox
RadioButton
RadioButtonGroup

Grid is ignored because it's used mostly with beans.

@szolo szolo added this to the 3.0.6 milestone Jul 25, 2018
@szolo szolo closed this as completed Jul 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants