[Xsltforms-support] Issue with deleting items from repeat list
Brought to you by:
alain-couthures
From: Mats E. <mat...@li...> - 2017-10-23 13:10:06
|
Hi Alan, By chance stumbled upon a potential bug in the xsltforms library recently. The attached simple test case shows how an exception is thrown when user clicks Delete trigger on the last item in a repeat list. Only in Chrome it seems. It is possible to avoid the exception by putting an extra null check in the if() statement on the line where the exception is thrown, however, it looks like the issue may reveal a deeper issue, whose effects could sometimes be more subtle. / Mats |