Skip to content

problems with ngsanitize and (click) attribute #54

@david-gang

Description

@david-gang

Hi,

I don't know if this is a problem with angular sanitize or ng-forward but it does not recognize the (click) attribute.

I renamed ng-click="" to (click)=

I get

Error: Failed to execute 'setAttribute' on 'Element': '(click)' is not a valid attribute name.
at Error (native)
at forEach.attr
at Object.JQLite.(anonymous function) [as attr]
at Object.$$sanitizeUriProvider.$get.Attributes.$set
at http://localhost:8000/primo-explore/lib/bundle.js:52302:15
at forEach
at mergeTemplateAttributes
at applyDirectivesToNode
at compileNodes
at compileNodes

I am using angular-sanitize 1.4.7

Please let me know if i should continue this here or open a defect to angular-sanitize.

Thanks,
David

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions