step 25 : slicing add setting mobile, add template x-if dropdown data kosong

This commit is contained in:
sindhu
2025-03-14 02:54:50 +07:00
parent ea4f0736e8
commit 7a3ec92eaa
4 changed files with 804 additions and 1 deletions

View File

@@ -270,6 +270,32 @@ document.addEventListener('alpine:init', () => {
idStopBit: -1,
namaStopBit: ''
};
// clear selected
this.selectedInterface = {
idInterface: -1,
namaInterface: 'Interface'
};
this.selectedInstrument = {
idInstrument: -1,
namaInstrument: 'Instrument'
}
this.selectedSerial = {
idSerial: -1,
namaSerial: 'Serial'
},
this.selectedParity = {
idParity: -1,
namaParity: 'Parity'
},
this.selectedDataBit = {
idDataBit: -1,
namaDataBit: 'DataBit'
},
this.selectedStopBit = {
idStopBit: -1,
namaStopBit: 'StopBit'
}
},
onChangeInterface(item) {
this.openInterface = false;