Wappler Version : 5.3.3
Operating System : Mac OS
Server Model: PHP
Database Type: Mysql
Hosting Type: Dreamhost
Expected behavior
Data should refresh on success action of form
Actual behavior
Data does not refresh
How to reproduce
<ul class="list-group list-group-flush" is="dmx-repeat" id="repeat1" dmx-bind:repeat="api_track.data.results.trackmatches.track" dmx-hide="api_track.state.executing">
<li class="list-group-item">
<form id="formAddItem_{{$index}}" is="dmx-serverconnect-form" method="post" action="dmxConnect/api/songAdd.php" dmx-on:success="notifies1.success('Song added');serverconnectTest.load({})" dmx-on:unauthorized="notifies1.danger('Already selected 3 songs.')">
<div class="d-flex">
<div class="d-flex w-75 align-items-center text-start" dmx-text="name+'-'+artist"></div>
<input id="addedLeerling" name="addedLeerling" type="hidden" class="form-control" dmx-bind:value="query1.data.ref">
<input id="addedItemName" name="addItemName" type="hidden" class="form-control" dmx-bind:value="name">
<input id="addedItemArtist" name="addItemArtist" type="hidden" class="form-control" dmx-bind:value="artist">
<div class="d-flex align-items-center justify-content-end w-25 text-end">
<button id="btn2" class="btn mb-0 btn-primary btn-sm" type="submit">
<i class="fas fa-plus"></i></button>
</div>
</div>
</form>
</li>
</ul>
A normal server connect form with server connect query load onsuccess. Data has always refreshed, but not in this case.
Example video where the action is not running after add and delete:
Screen Recording 2023-01-30 at 15.50.46
Community Page
Last updated:
Last updated: