-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
Hi everybody,
I have a simple combobox
<combobox id="cmbMMG" autocomplete="true" width="250px" model="@load(vm.lstMMG)" selecteditem="@bind(vm.selMMG)" autodrop="true" onselect="txtMMG.invalidate(); txtMMG.setValue(self.getSelectedItem().getValue().toString())"> <template name="model"> <comboitem label="@load(each.cognome)" value="@load(each.progressivo)" description="@load(each.nome)"/> </template> </combobox> MMG:<textbox id="txtMMG" value="@bind(gbD.MMG)" width="30px"/>
My "simple" question is: why onSelect event not firing dirty status in my middle object MVVM while if I edit the field manually the status dirty is correct?
Thanks for the help Luca
2 | No.2 Revision |
Hi everybody,
I have a simple combobox
<combobox id="cmbMMG" autocomplete="true" width="250px" model="@load(vm.lstMMG)" My "simple" question is: why onSelect event not firing dirty status in my middle object MVVM while if I edit the field manually the status dirty is correct?
Thanks for the help Luca
3 | No.3 Revision |
Hi everybody,
I have a simple combobox
<combobox id="cmbMMG" autocomplete="true" width="250px" model="@load(vm.lstMMG)"
selectedItem="@bind(vm.selMMG)" autodrop="true"
onSelect="txtMMG.invalidate(); txtMMG.setValue(self.getSelectedItem().getValue().toString())">
<template name="model">
<comboitem label="@load(each.cognome)" value="@load(each.progressivo)"
description="@load(each.nome)"/>
</template>
</combobox>
MMG:<textbox id="txtMMG" value="@bind(gbD.MMG)" width="30px"/>
My "simple" question is: why onSelect event not firing dirty status in my middle object MVVM while if I edit the field manually the status dirty is correct?
Thanks for the help Luca