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

The requested module does not provide an export named 'REGEXP_ONLY_DIGITS' #1052

Closed
tsegreto opened this issue Jan 17, 2025 · 1 comment
Closed

Comments

@tsegreto
Copy link

Describe the bug

https://next.bits-ui.com/docs/components/pin-input#patterns this states that this should work, however when I try that I get a 500 Server and console.error of The requested module does not provide an export named 'REGEXP_ONLY_DIGITS'

<script lang="ts"> import { PinInput, REGEXP_ONLY_DIGITS } from "bits-ui"; ### Reproduction https://stackblitz.com/edit/github-zuqgenrb?file=src%2Froutes%2F%2Bpage.svelte ### Logs ```bash The requested module does not provide an export named 'REGEXP_ONLY_DIGITS' ``` ### System Info ```bash bits-ui 0.22.0 ``` ### Severity annoyance
@ieedan
Copy link

ieedan commented Jan 17, 2025

You are using the wrong version of bits. Make sure to install bits-ui@next

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

3 participants