Hi guys,
i am still working on the orderEnteryUI and i want to add some js and jquery libraries into it (timePicker…) .
i was able to add the js files so they will be visible outside the server by using :
I think that the RA uses bootstrap’s date time picker, and to use it in a gsp you can include it as a fragment, did you look at the link @grimm added on how to work with fragments? Below is a sample usage:
ohh tried it looks cool but , what i want is a daytime picker not a date time picker means i want only the time (eg. 08:00). is there any template that does it already in the uicommons module or i shall import it from outside, if so how can use the jQuery library that i have mentioned before!!
thank you a lot for your time tho ^^ !!!
It doesn’t look like there is a time picker in uicommons. Here’s the link to all of the fields that are available. This would be a good contribution if you are able to add a field to uicommons.
I’m not sure if it supports picking time only, for sure the fragment doesn’t provide that feature, you might have to dig into the library documentation for the way to do so and then use the date picker the standard way instead of via a fragment. Or you could use a different library.