As suspected, WordPress was treating the button as type="submit"
fixed by doing:
<button type="button" onClick="addProperty()">Add property</button>
As suspected, WordPress was treating the button as type="submit"
fixed by doing:
<button type="button" onClick="addProperty()">Add property</button>