``` endDate.valueProperty().onChange { value ->...
# tornadofx
p
Copy code
endDate.valueProperty().onChange { value ->
            val dateVal = LocalDate.parse(model.endDate.value, ymdhmsFormat).format(mdyFormat)
            if(value?.format(mdyFormat) != dateVal && value!!.isAfter(startDate.value)) {
                filterSalesData()
            }
        }