Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not use the search box in administration page #2758

Open
freesoul opened this issue Jul 22, 2022 · 0 comments
Open

Can not use the search box in administration page #2758

freesoul opened this issue Jul 22, 2022 · 0 comments

Comments

@freesoul
Copy link

freesoul commented Jul 22, 2022

When searching in admin page (top-left corner search box) an error in the browser console appears and a white page

Detailed Description

The error in the console:

vue-router.js:1553 Uncaught DOMException: Failed to execute 'querySelector' on 'Document': '[object Text]' is not a valid selector.
    at resolve (https://static.data.gouv.fr/static/admin.js?_=4.1.1:20:20578)
    at e.$scrollTo.e.scrollTo [as $scrollTo] (https://static.data.gouv.fr/static/admin.js?_=4.1.1:20:20646)
    at SearchView.data (https://www.data.gouv.fr/static/chunks/19.80b4e0d26a0b110c7435.js:2:3577)
    at RouteTransition.callHook (https://static.data.gouv.fr/static/admin.js?_=4.1.1:39:24359)
    at RouteTransition.callHooks (https://static.data.gouv.fr/static/admin.js?_=4.1.1:39:24630)
    at loadData (https://static.data.gouv.fr/static/admin.js?_=4.1.1:39:9755)
    at g (https://static.data.gouv.fr/static/admin.js?_=4.1.1:39:9544)
    at activate (https://static.data.gouv.fr/static/admin.js?_=4.1.1:39:9615)
    at https://static.data.gouv.fr/static/admin.js?_=4.1.1:39:23299
    at step (https://static.data.gouv.fr/static/admin.js?_=4.1.1:39:23413)
    at https://static.data.gouv.fr/static/admin.js?_=4.1.1:39:23437
    at deactivate (https://static.data.gouv.fr/static/admin.js?_=4.1.1:39:8584)
    at step (https://static.data.gouv.fr/static/admin.js?_=4.1.1:39:23417)
    at RouteTransition.runQueue (https://static.data.gouv.fr/static/admin.js?_=4.1.1:39:23460)
    at https://static.data.gouv.fr/static/admin.js?_=4.1.1:39:23138
    at step (https://static.data.gouv.fr/static/admin.js?_=4.1.1:39:23413)
    at https://static.data.gouv.fr/static/admin.js?_=4.1.1:39:23437
    at https://static.data.gouv.fr/static/admin.js?_=4.1.1:39:8480
    at Array.<anonymous> (https://static.data.gouv.fr/static/admin.js?_=4.1.1:39:7759)
    at https://static.data.gouv.fr/static/admin.js?_=4.1.1:8:10014
    at Object.<anonymous> (https://static.data.gouv.fr/static/admin.js?_=4.1.1:20:15438)
    at window.webpackJsonp (https://static.data.gouv.fr/static/common.js?_=4.1.1:1:576)
    at https://www.data.gouv.fr/static/chunks/19.80b4e0d26a0b110c7435.js:1:1

Context

Using french gov theme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant