Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Materials Attribute Not Responding Correctly #79

Open
oogwayidk opened this issue Nov 9, 2017 · 0 comments
Open

Materials Attribute Not Responding Correctly #79

oogwayidk opened this issue Nov 9, 2017 · 0 comments

Comments

@oogwayidk
Copy link

I think there's an error with the ternary operator in the template. It should be as follows otherwise it'll try to use md-switch when material is not present:

(material ? '<md-switch class="ng-csv-import-header-switch" ng-model="header"></md-switch>' : '<input type="checkbox" ng-model="header"></div>') +

Orignal:
(material ?'<input type="checkbox" ng-model="header"></div>' : '<md-switch class="ng-csv-import-header-switch" ng-model="header"></md-switch>') +

The visible error is when material is not selected nothing will appear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant