Adding Datepicker in soy File missing something

I created a soy File with a datepicker in it and it works in Chrome but It won't work in any other browsers. I think I am not even able to use the aui-datepicker, Chrome just uses the browser default and all the other browser arent.

So I have added


to my plugin.xaml in

<web-resource key="soy" name="AJS Soy">

Hope that the correct place.

<input class="aui-date-picker" id="vValidFrom" name="vValidFrom" type="date" placeholder="DD-MM-YYYY" data-aui-dp-uuid="0">

and i have

{template .javascript}


AJS.$(document).ready(function() {
AJS.('#vValidFrom').datePicker({'overrideBrowserDefault': true});



for the javascript.

FireFox and IE won't display a datepicker from my blueprint. The standart decision blueprint has a working datepicker in it. I guess that there is just a simple solution to this cause I really don't have a clue what I'm doing so if you could provide me with a little sample blueprint that handels a datepicker it would be great.

1 answer



try this in soy:

 	    &lt;div class="field-group"&gt;
 	        &lt;label for="spLebenStart"&gt;{getText('sp.lebenslaufakte.datum')}&lt;span class="aui-icon icon-required"&gt;(required)&lt;/span&gt;&lt;/label&gt;
 	        &lt;input class="aui-date-picker" id="spLebenStart" type="date" name="spDateBegin"/&gt;


and in javascript file in post-render section:

        	overrideBrowserDefault: true,
            languageCode: 'de'

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

281 views 38 9
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot