edvin / tornadofx-controls

CSS Stylable Controls for JavaFX
Apache License 2.0
107 stars 16 forks source link

DateTimePicker: use commitValue()-method instead sending Enter-Key-Event #2

Closed fischey closed 8 years ago

fischey commented 8 years ago

Use the commitValue()-method instead of sending an Enter-Key-Event. This has the same effect, but does not affect the rest of the ui. In case you use the "DefaultButton"-feature in JavaFX the current implementation will always activate this button. In my opinion is this a bug.

edvin commented 8 years ago

Thank you, that was much cleaner :)

fischey commented 8 years ago

You are welcome :-) Thank you for developing this DateTimePicker.