[Patternfly] Recommended date picker widget?
Petr Vobornik
pvoborni at redhat.com
Mon Mar 9 09:31:18 UTC 2015
Hi!
We would like to implement/use a datetime widget in FreeIPA Web UI.
There hasn't be any development in this thread so I wonder if [5] is
still the way to go.
[5] looks good but it lacks time component. I've found [6], it has a
good license as well(MIT) and supports time. Downside is that it brings
new dependency: moment.js
I would like to avoid using something different than the component that
will be in PF.
So I would like to ask some questions:
1. Has anybody done any datepicker components evaluation?
2. Are there already any date/time + patternfly implementations or
patternfly draft?
3. Do you guys prefer to use separate date and time pickers? Note: for
us it's essential to combine it into single date object.
[6] https://github.com/Eonasdan/bootstrap-datetimepicker
Thank you,
Petr
On 01/15/2015 03:07 PM, Robb Hamilton wrote:
>
>> On Jan 15, 2015, at 5:47 AM, Andreas Nilsson <anilsson at redhat.com> wrote:
>>
>> Hi!
>
> hi, andreas!
>
>> In Cockpit we currently have a couple of places [1,2,3,4] were we'll need to use some kind of date picker.
>>
>> I imagine this being a useful widget to other projects as well, so I wanted to check if Patternfly recommend any particular calendar widget library to use.
>> I found bootstrap-datepicker [5] that seems nice and has a Apache 2.0 license, but there are probably others out there.
>
> you are correct. patternfly does not include a date picker, but bootstrap-datepicker looks like a good choice, and the one i’d probably pick (good features, bower support, source less files, etc.).
>
> UXD-team, are you seeing a need for date pickers?
>
>>
>>
>> 1. https://github.com/cockpit-project/cockpit/issues/33#issuecomment-27671984
>> 2. https://github.com/cockpit-project/cockpit/issues/1378#issuecomment-65793382
>> 3. https://github.com/cockpit-project/cockpit/issues/1297#issuecomment-69767275
>> 4. https://github.com/cockpit-project/cockpit/issues/632
>> 5. https://github.com/eternicode/bootstrap-datepicker
>>
>> - Andreas
>>
--
Petr Vobornik
More information about the PatternFly
mailing list