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 Sign up to answer
Community showcase
Posted yesterday in Agile

What is Scrum? A good, bad, and ugly answer.

In a world of dark-scrum, faux-scrum, and scrum-butt, the question still remains: What is scrum and how do you do it “right?” That’s the question we set out to answer. I'm Max, I've been teaching c...

62 views 0 1
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