directive file type accept changes
This commit is contained in:
parent
7c52cb9ba2
commit
e3474d0bdf
@ -2,7 +2,7 @@
|
|||||||
app.directive('jsXls', function () {
|
app.directive('jsXls', function () {
|
||||||
return {
|
return {
|
||||||
restrict: 'E',
|
restrict: 'E',
|
||||||
template: '<input type="file" />',
|
template: '<input type="file" accept=".xlsx,.xls,.ods"/>',
|
||||||
replace: true,
|
replace: true,
|
||||||
link: function (scope, element, attrs) {
|
link: function (scope, element, attrs) {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user