Skip to content

Materials Attribute Not Responding Correctly #79

Description

@oogwayjay

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions