directive file type accept changes

This commit is contained in:
gandhimathi 2018-08-30 17:11:05 +05:30
parent 7c52cb9ba2
commit e3474d0bdf

View File

@ -2,7 +2,7 @@
app.directive('jsXls', function () {
return {
restrict: 'E',
template: '<input type="file" />',
template: '<input type="file" accept=".xlsx,.xls,.ods"/>',
replace: true,
link: function (scope, element, attrs) {