We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In <NumberPicker ... /> component items property is number[]. If we use specially formatted numbers by Intl.NumberFormat items might become strings.
<NumberPicker ... />
items
number[]
const HourAndMinutesNumberFormat = new Intl.NumberFormat('en-US', { style: 'decimal', // @ts-ignore signDisplay: 'never', useGrouping: false, minimumIntegerDigits: 2 });
We can allow items to be strings, but which should be convertible to numbers.
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Branch issue-142 created. Open it in the web editor.
Create draft PR for #142
dd8fc1b
FEE-293: Allow items to be strings convertible to numbers #142
d2bce34
likern
Successfully merging a pull request may close this issue.
In
<NumberPicker ... />
componentitems
property isnumber[]
.If we use specially formatted numbers by Intl.NumberFormat items might become strings.
We can allow
items
to be strings, but which should be convertible to numbers.The text was updated successfully, but these errors were encountered: