DatePickerDialog-iOS-Swift icon indicating copy to clipboard operation
DatePickerDialog-iOS-Swift copied to clipboard

How to disable a particular date in DatePickerDialog ?

Open ShadowSynthesis opened this issue 9 years ago • 2 comments

Hey all,

i'm working on a datePicker for booking system. I need to disable some dates because there aren't available for booking (restaurant closed on 28/11/2016 for example) is there any way to do it ?

Thank You !

ShadowSynthesis avatar Nov 28 '16 17:11 ShadowSynthesis

Hey @ShadowSynthesis, we currently do not support that. I looked into this StackOverflow question and you can do it with the UIDatePicker dalegate inside DatePickerDialog.swift

lfarah avatar Nov 29 '16 05:11 lfarah

If you have time, it would be awesome if you opened a PR adding this functionality!

lfarah avatar Nov 29 '16 05:11 lfarah