0

I am trying to bind data-target to '#' + entry.name + 'modal' by doing [data-target]="'#' + entry.name + 'modal'" but doing so keeps throwing a template parse error Can't bind to 'data-target' since it isn't a known property of 'button'. I am confused why it is saying this since it is how I would always open a modal. Do I have to do it in a different way in angular?

Caleb Bassham
  • 1,874
  • 2
  • 16
  • 33

0 Answers0