medusa-ui/medusa

POC Validation: DiffEngine messes up html when using `th:if` ?

dirkdeyne opened this issue · 2 comments

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

A better example in branch rewrite-1.0.0-bug-th-if : http://localhost:8080/th-if

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.

b9f5bfa