mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
trabajando en el backend
This commit is contained in:
@ -44,11 +44,6 @@ class ClassSelect2 {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
setParams(params) {
|
||||
this.params = params;
|
||||
}
|
||||
|
||||
// Método para obtener el valor seleccionado
|
||||
getValue() {
|
||||
return this.domItem.val();
|
||||
@ -59,6 +54,10 @@ class ClassSelect2 {
|
||||
this.domItem.val(value).trigger('change');
|
||||
}
|
||||
|
||||
setParams(params) {
|
||||
this.params = params;
|
||||
}
|
||||
|
||||
clear() {
|
||||
this.domItem.val(null).trigger('change');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user