Skip to content

Commit

Permalink
Fix handling input text values
Browse files Browse the repository at this point in the history
  • Loading branch information
eSlider committed Feb 8, 2017
1 parent 4487730 commit e8e2e15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/js/utils/fn.formData.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ $.fn.formData = function(values) {
var dateFormat = input.datepicker( "option", "dateFormat" );
value = $.datepicker.formatDate(dateFormat, new Date(value))
input.datepicker( "setDate", value);
}else{
input.val(value);
}
break;
default:
Expand Down

0 comments on commit e8e2e15

Please sign in to comment.