0

Thymyleaf does not allow to add "editable-form" attribute since it is not well formed. Is there any alternative way to do this?

application.properties

spring.thymeleaf.mode=LEGACYHTML5

Thymyleaf Template

<form editable-form name="tableform" onaftersave="afterSave()" oncancel="cancel()">
</form>
Pradeep Sanjaya
  • 1,816
  • 1
  • 15
  • 23

2 Answers2

0

AnagularJS directives can be prepended with data attributes.

<form data-editable-form="" name="tableform" onaftersave="afterSave()" oncancel="cancel()">
</form>
Venu Duggireddy
  • 786
  • 6
  • 9
0

editable-form="editable-form" should work as well -- as long as angularjs understands it. The requirement is that all attributes have values.

Metroids
  • 18,999
  • 4
  • 41
  • 52