Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Date picker in AUI?

Adrien Ragot 2
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 27, 2014

Hi,

I'm programming a plugin for Confluence 5.4, and I'd like to display a field to the user with a date picker.

For the moment I'm using <input type="date">, which automatically displays a datepicker in Chrome (and only Chrome).

Is there a nominal way to do that?

Thank you,

Adrien

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
Adrien Ragot 2
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 27, 2014

Ridiculous me, I'm answering my own question. AUI has it, if you:

  • Use the web resource com.atlassian.auiplugin:aui-date-picker
  • Use the class aui-date-picker,
  • Call a js event.

See https://docs.atlassian.com/aui/5.3/docs/datePicker.html

Thank you all!

0 votes
Silviu Burcea
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 27, 2014

AFAIK, date input is a not so supported HTML5 feature. http://caniuse.com/#search=date

TAGS
AUG Leaders

Atlassian Community Events