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:
Pierre de La Morinerie 2021-07-06 15:48:43 +02:00 committed by GitHub
commit cedef676b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}