Open bgruszka opened 3 years ago
Hello,
I would like to use 'react-input-mask' to provide fractions like these: 1/2, 1/8 2/3, 12/22, etc. but unfortunately I am stuck :/
I have something like this for now:
<InputMask type="text" mask="99/99" value={this.props.value} />
The problem is that for some fractions it is not necessary to provide two digits in nominator or denominator.
Hello,
I would like to use 'react-input-mask' to provide fractions like these: 1/2, 1/8 2/3, 12/22, etc. but unfortunately I am stuck :/
I have something like this for now:
<InputMask type="text" mask="99/99" value={this.props.value} />
The problem is that for some fractions it is not necessary to provide two digits in nominator or denominator.