-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Calendar module #3256
Calendar module #3256
Conversation
first of all, thanks for sharing! can you extend the module to have month and year selection? |
@mdehoog i've downloaded from jsbin source, but got and error:
in my case, the date in the field is already filled, is there a date format config like 'dd/MM/yyyy'? |
…(instead of erroring)
@brunotourinho You need an element that acts as the popup activator, ie an input or a button as a child element of the I've just committed a change that causes the calendar to automatically switch to inline mode if no activator element is found (instead of throwing the error). |
It looks very nice. 👍 |
👍 timepicker would be really neat addition to this cleany made datepicker |
@brunotourinho Added year/month selection like the example given. |
@mdehoog Thanks! |
@mdehoog Awesome!!! I cant wait to use it in production, one more time, thanks a lot! 😄 |
@brunotourinho Check out the "Day first" and "Custom format" examples in the linked jsbin. |
@mdehoog that's Perfect! |
@mdehoog When the field is set (editing mode) and we open the popup but don't select a date, when it closes, it resets the value to the placeholder value. |
@mdehoog another cool stuff, would be the option to change the month name and weekdays letters localization. |
Unminified the code and found the answer for my second question:
|
I like it!! |
@brunotourinho Can't reproduce the "reset to placeholder" issue, can you provide a jsbin? |
@mdehoog, I'll try to explain the steps, the jsbin is here https://jsbin.com/mopugunafo/1/edit?html,js,output:
Maybe I'm having trouble setting the initial date. |
@brunotourinho Excellent, thanks for the jsbin! Bug fixed (jsbin in original post updated). |
Hi Everyone, I noticed an issue when placing the calendar inside a modal box, after the modal shows up the calendar automatically showing up too not waiting for the input box clicked first. I created a jsfiddle on this https://jsfiddle.net/danitz/Lxdsbhcu/ any help is very much appreciated |
@danitz that would happen with any input component inside modal window. You need to set |
@danitz I have already reported this bug some months ago. Please read my comment: #3256 (comment) It is still a bug. |
@DimitryKislichenko thanks a lot it works |
Hi ! example : 2017 to 2560 |
Calendar doesn't restores value when using Semantic UI's form API, e.g It does restore the input text value but not the actual hidden input value. Additionally when a date is set it won't trigger a change event on the form, which happens with all other components. |
@talha-asad You should add an issue here |
Hi, I'm having a problem with the calendar. I'm using it as a date range picker but if I select a date in the first calendar it doesn't block out the date in the second calendar. How would I achieve this behavior? |
Have you followed the example?
Anyway you should use this repository to get support. |
Hello, Is there a way to only disable all Sundays (make it disabled link) from being selected in inline calendar ? Thanks |
Hi everyone, can someone tell me please how to use the formatter "cell" ? I've tried many ways but I always get an error. Thanks |
Has it been definitively decided that Semantic UI will not contain a date picker? |
Yes. |
Really nice plugin, hope this will officially included in Semantic UI soon. |
@smartm0use why??? |
@MariannaAtPlay Jack said nothing about it, someone asked to close the PR and move it to a separate repository—that’s it. The component will or will not be added to the core. |
@Banandrew It seems like Jack was willing and excited about this pull request if you read above. I'm sure when Jack returns to actively developing Semantic Ui, this discussion will resume. All modern css/component frameworks have a calendar module. Semantic UI should be no different. The issue that arises is from the uncertainty of this project's future. It's a great framework, but Jack has mentioned himself that currently he has zero time to work on this project. He says he'll return to the project, but that was a year ago. The "when" question is killing this project. |
hi mdehoog, |
Perhaps this component can be built in instead of becoming an extension |
This comment was marked as spam.
This comment was marked as spam.
Hey @lubber-de , |
This comment was marked as spam.
This comment was marked as spam.
Hi |
I've created a Calendar (date/time picker) module. It depends on the Popup module and Table collection.
For examples, see here: https://jsbin.com/hubanufuva/
Let me know if there's things that can be improved or changed to fit better into the project.
Issue for reference: #191.
EDIT: implemented time picker.
EDIT 2: See this repository for a ready to install version: https://github.com/mdehoog/Semantic-UI-Calendar.