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
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 devThis works fine. If I switch to the starter theme using:
npx formkit theme --theme=starterthen I start to have problems.When I load the app at localhost:5173, I see an error in the console:
If I add
draggableto 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