We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aead179 commit 5ca2175Copy full SHA for 5ca2175
packages/@internationalized/number/README.md
@@ -24,7 +24,9 @@ parser.parse('10%')); // -> 0.1
24
import {NumberParser} from '@internationalized/number';
25
26
let parser = new NumberParser('en-US', {style: 'unit', unit: 'inch'});
27
-parser.isValidPartialNumber('10 i')); // -> true
+parser.isValidPartialNumber('10 ')); // -> true
28
+parser.isValidPartialNumber('10 in')); // -> true
29
+parser.isValidPartialNumber('10 i')); // -> false
30
parser.isValidPartialNumber('10 x')); // -> false
31
```
32
0 commit comments