Skip to content

Commit

Permalink
Mejora de varios selectores en editForm
Browse files Browse the repository at this point in the history
  • Loading branch information
xaabi6 committed May 13, 2024
1 parent 37d46f9 commit f024398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rup_table/rup.table.editForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@

// Establecemos el foco al primer elemento input o select que se
// encuentre habilitado en el formulario
$(idForm[0]).find('input,select').filter(':not([readonly])').first().focus();
$(idForm).find('input,select').filter(':not([readonly],[type=hidden])').first().focus();

// Se guardan los datos originales
ctx.oInit.formEdit.dataOrigin = _editFormSerialize(idForm, ctx.oInit.formEdit.serializerSplitter);
Expand Down

0 comments on commit f024398

Please sign in to comment.