Skip to content
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

today button #5

Closed
syrakozz opened this issue Sep 22, 2014 · 5 comments
Closed

today button #5

syrakozz opened this issue Sep 22, 2014 · 5 comments

Comments

@syrakozz
Copy link

can you please add today button to the picker
thanks in advance

@hons82
Copy link
Owner

hons82 commented Sep 22, 2014

Actually on top there is a toolbar with an "OK" right and a "Cancel" left (shown as icons)
Then there is a button in the middle that is disabled in the example

[self.datePicker setAllowClearDate:NO];

It's not exactly a "today" button, because it would allow to select no Date, but you can probably use it as today.

I'll check that in an example and probably change it to a today... or to a possibility to use it as today

@syrakozz
Copy link
Author

thanks it will be great, if we call it today on the UI, so the user directly notice it

@hons82
Copy link
Owner

hons82 commented Sep 23, 2014

I guess there is no obvious icon for "today" so I'll need to put it in text...
Maybe I'll need to change "Done" and "Cancel" into text too.

@syrakozz
Copy link
Author

+1

@hons82
Copy link
Owner

hons82 commented Oct 10, 2014

I'm going to commit now a Version that should have this enhancement.
If you could test this I'll put it in the next Cocoapods version

Sorry that it took so long; I'm a bit short in time currently

hons82 pushed a commit that referenced this issue Oct 10, 2014
This commit should allow to disable past selection and offer the
possibility to use clear button as today buttton
@hons82 hons82 closed this as completed Oct 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants