Use bootstrap-datepicker for metadata Dates#1907
Conversation
|
@jykae Yeah, works good and error handler has too. If this type of date is acceptable, I will merge it |
|
@marla-singer I check tomorrow if I could possibly make it nicer. At least remove time part away. |
|
@marla-singer date format improved |
|
@jykae Validate date isn't updated if I change only one date. But if you delete both fields, they'll disappear both |
|
@marla-singer Good find, there is an open issue, Meteor-Community-Packages/meteor-autoform-bs-datepicker#24 I try to figure out something.. |
|
@jykae I will approve it on Monday |
|
Forked, fixed, published package with fix. https://github.com/apinf/meteor-autoform-bs-datepicker |
|
@marla-singer how it feels now? does it function like expected? |
|
@jykae Unfortunatly no :( Now If Validate since and Validate util exist and I try to delete only Validate until then I have message about "End date must be after begin date" |
|
@marla-singer how you would like it to behave? Only validate time frame if BOTH fields have value? And allow cases: only valid since value & only valid until value? |
|
@jykae Steps:
|
|
@marla-singer added check, now we compare only if we have both Dates. How about now? |
|
@jykae Good. Merge it |


Closes #852
Closes #853
Closes #854