Skip to content

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

@tsegreto

Description

@tsegreto

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions