step 25 : slicing add setting mobile, add template x-if dropdown data kosong
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user