inovua / reactdatagrid

Empower Your Data with the best React Data Grid there is
https://reactdatagrid.io
Other
3.45k stars 57 forks source link

🐛 Bug caused by Typo in reactdatagrid/community-edition/packages/NumericInput/src /NumberInput.tsx #410

Open LeadDreamer opened 4 months ago

LeadDreamer commented 4 months ago

Relevant code or config

What you did:

What happened:

Reproduction repository:

Problem description:

Suggested solution:

LeadDreamer commented 4 months ago

Community repository Specifically reactdatagrid/community-edition/packages/NumericInput/src /NumberInput.tsx Lines 298-302 let min = props.mim; if (min === undefined && !props.allowNegative) { min = 0; }

NOTE: first line defines min as props.mim - note the "m". There is no other reference in the repository to props.mim or mim

Probably affects use of the allowNegative prop