LocalDateTimeTextField disable editing
Closed this issue · 2 comments
moctavianro commented
Hello
How can i set a string date formatter in fxml layout?
How can i make the field uneditable but keeo picker on?
Can i set min and max values for it(disable the other dates)?
Thanks!
tbee commented
Sorry for the late response, my paid job is doing an end-of-year sprint.
- dateFormat="yyyy-MM-dd HH:mm:ss" dateFormats="yyyy-MM-dd, yyyy-MM, yyyy"
- no you can't, why do you want that? (If it is a good use case...)
- no you can't at the moment, but I can see why that would make sense.
tbee commented
- You could use the CalendarRangeCallback and the disabledCalendars collection to disable all dates in a given month (or partial months when the min or max is reached).