tornadofx / tornadofx / javafx.scene.control.DatePicker

Extensions for javafx.scene.control.DatePicker

bind fun DatePicker.bind(property: ObservableValue<LocalDate>, readonly: Boolean = false): Unit
validator fun DatePicker.validator(trigger: ValidationTrigger = ValidationTrigger.OnChange(), validator: ValidationContext.(LocalDate?) -> ValidationMessage?): <ERROR CLASS>

Add a validator to a DatePicker that is already bound to a model property.