Intermittent onchanged trigger

Wappler Version : 3.5.1 (plus an interim lib folder from Patrick)
Operating System : mac / php

Expected behavior

The dbx-bind:changed should trigger consistently from a select element

Actual behavior

The first few changes do not trigger the events.

How to reproduce

What is shown in this video is as follows:
After a successful page load, the status column is changed, which triggers the add.php server connect correctly.

Then a page refresh

Then a series of attempts to change the status column with no add.php triggers

Followed by a series of successful triggers.

Once the select element is successfully trigger on change, it never fails…it just has trouble starting.

This is a form that is within a repeat – each row is its own form. The form action is the add.php. The select onchanged submits the form.

It is probably worth noting that the datepicker within the same form, triggers properly each time.

<form dmx-bind:id="update_order_form{{$value.order_id}}" class="order_list" is="dmx-serverconnect-form" id="update_order_form" action="dmxConnect/api/orders/add.php" method="post" dmx-on:success="orders.load({},true)" novalidate>
	<input dmx-bind:id="order_update_id{{$value.order_id}}" name="order_id" type="hidden" class="form-control" dmx-bind:value="$value.order_id">
																		
																		
	<div class="order_list_td" dmx-text="ordered_by_name.default('Deleted User')"></div>
	<div class="order_list_td" dmx-text="qty ? qty : bom.qty_used" style="text-align: right"></div>
	<div class="order_list_td" dmx-text="unit"></div>
																		
	<div class="order_list_td" dmx-text="order_type == 'tag' ? 'Tag: ' + tag_type : part_number"></div>
	<div class="order_list_td" dmx-text="order_type == 'tag' ? tag_text.trunc(30, false, '...') : description ? description : bom.item_description"></div>
	<div class="order_list_td" dmx-text="page_load.data.phase_codes.where(`KeyID`, phase_code_id, '==')[0].phase"></div>
	<div class="order_list_td">
		<select dmx-bind:id="select_list_status{{$value.order_id}}" class="form-control form-control-sm" name="order_status2" dmx-bind:options="page_load.data.order_status" optiontext="display" optionvalue="lookup"
			dmx-bind:value="$value.order_status" dmx-on:click.stop="" dmx-on:changed="update_order_form.submit(true)">
																		
		</select>
																		
	</div>
	<div class="order_list_td">
																		
																		
																		
		<input dmx-bind:id="inp_list_date_required{{$value.order_id}}" class="form-control form-control-sm" name="date_required" is="dmx-date-picker" aria-describedby="inp_date_required_help" placeholder="Date Required" data-msg-pattern=""
			dmx-bind:mindate="{{current_date.datetime}}" dmx-bind:value="$value.date_required" dmx-on:changed="update_order_form.submit(true)" required="" dmx-on:click.stop="">
																		
																		
	</div>
	<div class="order_list_td">
																		
																		
																		
		<select dmx-bind:id="inp_list_checkin{{$value.order_id}}" class=" form-control form-control-sm" name="checkin_id" dmx-bind:options="page_load.data.checkin_options" optiontext="display" optionvalue="checkin_id"
			dmx-on:changed="update_order_form.submit(true)" dmx-bind:value="$value.checkin_id" dmx-on:click.stop="">
			<option value="">N/A</option>
																		
		</select>
																		
																		
																		
	</div>
</form>
Community Page
Last updated: