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

editableWhen() method for datepacker and combobox #717

Closed
mostfa-ayad opened this issue May 2, 2018 · 8 comments
Closed

editableWhen() method for datepacker and combobox #717

mostfa-ayad opened this issue May 2, 2018 · 8 comments

Comments

@mostfa-ayad
Copy link

hello
is it possible to use enableWhen() method for combobox and datePacker controller

@edvin
Copy link
Owner

edvin commented May 3, 2018

Your headline reads editableWhen and your questions reads enableWhen. Which one are you wondering about?

@mostfa-ayad
Copy link
Author

oh sorry i mean editablewhen

edvin pushed a commit that referenced this issue May 4, 2018
@edvin
Copy link
Owner

edvin commented May 4, 2018

Sweet, I've added them now :)

@mostfa-ayad
Copy link
Author

perfect thank you I will try it
Is possible to add for tableView
I use isEditable but it will be better if can use editableWhen

@edvin
Copy link
Owner

edvin commented May 4, 2018

Sure, I've added them for TableView, TreeTableView, ListView as well now.

@mostfa-ayad
Copy link
Author

thank you soo much

@mostfa-ayad
Copy link
Author

mostfa-ayad commented May 5, 2018

i use DateTimePicker and editableWhen didn't work
the textfield for picker is un editable but can edit from date selection box

combobox too have aproblem with editableWhen()

sample.zip

@edvin
Copy link
Owner

edvin commented May 6, 2018

It works as it should, but you must remember that editable for a Combox controls whether you can write in the input area or not. You might want enabledWhen or disabledWhen instead perhaps?

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