File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,11 @@ csvImport.directive('ngCsvImport', function() {
1212 header : '=' ,
1313 headerVisible : '=' ,
1414 separator : '=' ,
15+ separatorVisible : '=' ,
1516 result : '='
1617 } ,
17- template : '<div><div ng-show="header && headerVisible"><div class="label">Header</div><input type="checkbox" ng-model="header"></div>' +
18- '<div ng-show="separator " ><div class="label">Seperator</div><input type="text" ng-change="changeSeparator" ng-model="separator"></div>' +
18+ template : '<div><div ng-show="headerVisible"><div class="label">Header</div><input type="checkbox" ng-model="header"></div>' +
19+ '<div ng-show="separatorVisible " ><div class="label">Seperator</div><input type="text" ng-change="changeSeparator" ng-model="separator"></div>' +
1920 '<div><input class="btn cta gray" type="file"/></div></div>' ,
2021 link : function ( scope , element ) {
2122 element . on ( 'keyup' , function ( e ) {
You can’t perform that action at this time.
0 commit comments