-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimum Date not being applied to DateTimeInlineRow #111
Comments
@Gman9855 Could you post the code that define the date row? |
<<< DatePickerRow() { $0.minimumDate = NSDate() } using the code above the UIPickerView doesn't allows me to select a earlier date than NSDate. Could you confirm you are setting $0.minimumDate from the row constructor block? |
I'm not using a DatePickerRow, i'm using a DateTimeInlineRow |
Figured it out- need to call onExpandInlineRow and then set the minimumDate property on the DateTimePickerRow from the callback |
Did you mean |
Well maybe it works there too- but i'm doing it in onExpandInlineRow, where i can grab a reference to the DateTimePickerRow |
This is actually a bug :(. Shouldn't be necessary to set up again the property from |
I want my minimum date on the date picker to be the current date. So i simply set it like so... $0.minimumDate = NSDate() but it doesn't seem to change anything. Am i missing something?
The text was updated successfully, but these errors were encountered: