Skip to content

Commit 8ca4213

Browse files
committed
Fixed #6 - jQueryDatePicker widget doesn't apply the question style
1 parent 1a5712e commit 8ca4213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery-ui-datepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function init(Survey) {
55
iconName: "icon-datepicker",
66
widgetIsLoaded: function() { return typeof $ == 'function' && !!$.fn.datepicker; },
77
isFit : function(question) { return question.getType() === 'datepicker'; },
8-
htmlTemplate: "<input class='widget-datepicker' type='text' style='width: 100%;'>",
8+
htmlTemplate: "<input class='form-control widget-datepicker' type='text' style='width: 100%;'>",
99
activatedByChanged: function(activatedBy) {
1010
Survey.JsonObject.metaData.addClass("datepicker",
1111
[{name: "dateFormat", default: "mm/dd/yy", choices: ["mm/dd/yy", "yy-mm-dd", "d M, y", "d MM, y", "DD, d MM, yy", "'day' d 'of' MM 'in the year' yy"]},

0 commit comments

Comments
 (0)