Merge pull request #6323 from tchak/fix-autocomplete-errors
Correction d'une erreur Javascript lors de l'auto-remplissage des menus déroulants (#6323)
This commit is contained in:
commit
cedef676b0
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ export function useDeferredSubmit(input) {
|
|||
const calledRef = useRef(false);
|
||||
const awaitFormSubmit = useCallback(
|
||||
(callback) => {
|
||||
const form = input.form;
|
||||
const form = input?.form;
|
||||
if (!form) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue