POC Validation: DiffEngine messes up html when using `th:if` ?
dirkdeyne opened this issue · 2 comments
dirkdeyne commented
Tags get displayed in the wrong position, after the validation of a form.
My guess is that DiffEngine
has problems handling th:if
Ref: http://localhost:8080/validation in POC YAVI validation branch
dirkdeyne commented
A better example in branch rewrite-1.0.0-bug-th-if : http://localhost:8080/th-if
kevindeyne commented
I added a fix for this:
We did not yet account for child sequence changes in our diff engine. I've added a new type of diff that can interpret this on JS side.