You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try use typingTime prop, in order to add some delay before the onChange event occurs. But changing the typingTime does not change anything. Does anyone has the same problem?
<InputSpinner
style={{marginTop: 10}}
max={100}
min={0}
step={1}
value={chLowerBound}
fontSize={14}
showBorder={true}
rounded={false}
typingTime={4000}
inputStyle={{
fontFamily: 'SFProDisplay-Semibold',
}}
color={paperTheme.colors.primary}
width={140}
height={45}
onChange={num => {
if (num !== 0 && (num < 45 || num > 85)) {
console.log('val error 1:', num);
setChLowerBound(num);
} else if (num !== 0 && num >= chUpperBound) {
console.log('val error 2:', num);
} else if (num !== 0) {
// send data to API
}
}}
/>
The text was updated successfully, but these errors were encountered:
Hi all,
I try use typingTime prop, in order to add some delay before the onChange event occurs. But changing the typingTime does not change anything. Does anyone has the same problem?
<InputSpinner
style={{marginTop: 10}}
max={100}
min={0}
step={1}
value={chLowerBound}
fontSize={14}
showBorder={true}
rounded={false}
typingTime={4000}
inputStyle={{
fontFamily: 'SFProDisplay-Semibold',
}}
color={paperTheme.colors.primary}
width={140}
height={45}
onChange={num => {
if (num !== 0 && (num < 45 || num > 85)) {
console.log('val error 1:', num);
setChLowerBound(num);
} else if (num !== 0 && num >= chUpperBound) {
console.log('val error 2:', num);
} else if (num !== 0) {
// send data to API
}
}}
/>
The text was updated successfully, but these errors were encountered: