code-forge-io / code-forge-io/react-input-mask
Plugin does not work with shadcn Input component
未关闭
- 主要语言
- TypeScript
- 星标
- 35
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
描述
Description:
- When using https://ui.shadcn.com/docs/components/input with react-input-mask, it does not mask the input
Steps to Reproduce:
- Install ui.shadcn.com with Vite. Add this code:
```
const { getInputProps } = useInputMask({
mask: 'One does not simply walk into AAAAAA',
});
return (
Overview
Label
{
// Your onChange handler gets the output of the hook (won't trigger if the input is invalid)
console.log(e.target.value);
}} />
);
```
Expected Behavior:
- Input should be masked
Actual Behavior:
- Input is not masked
Error message: No error message.
Note: Update documentation. Import only functions if :
`import { useInputMask } from '@code-forge/react-input-mask';`
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。