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

Error with repeater input and draggable does not work #11

Open
madbarron opened this issue Jul 10, 2024 · 0 comments
Open

Error with repeater input and draggable does not work #11

madbarron opened this issue Jul 10, 2024 · 0 comments

Comments

@madbarron
Copy link

I set up a new project by following these steps:

npx formkit@latest create-app
	formkit-repro
	Vite
	JavaScript
	yes

cd formkit-repro
npm install
npm run dev

This works fine. If I switch to the starter theme using: npx formkit theme --theme=starter then I start to have problems.

When I load the app at localhost:5173, I see an error in the console:

Uncaught DOMException: Failed to execute 'querySelector' on 'Document': '#input_3 . formkit-inner' is not a valid selector.

If I add draggable to the repeater, I see the grips but the elements cannot be dragged around.

If I remove the repeater input, the errors disappear.

A minimal reproduction can be found here: https://github.com/madbarron/formkit-bug-repro

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