Dmx-text persists even if property no longer exists

Wappler 5.3.0

Assume a server connect:

[
    {
        "name": "George",
    }
]

Assume a table with data repeat:

<tbody is="dmx-repeat" dmx-generator="bs5table" dmx-bind:repeat="sc_test.data" id="tableRepeat1">
<tr>
<td dmx-text="name"></td>
</tr>
</tbody>

If I trigger a server connect reload and the server action returns this instead, the dmx-text="name" is not cleared:

[
    {
        "error": "Some error"
    }
]

(assume a HTTP 200 OK status code)

The table continues showing the name “George” even though the property “name” is no longer present in the server connect data object

Community Page
Last updated: