Reputation: 21
I am getting an error when i try to select a autofill value
I am using prime react inputnumber component
when i debug ,there is no value in event.Even if to turn off autocomplete ,there is no option for that in input number
How to solve this?
Upvotes: 0
Views: 141
Reputation: 21
Passthrough attributes, autocomplete can be used like this
<InputNumber value={value1} onValueChange={(e) => setValue1(e.value)} pt={{ input: { root: { autocomplete: 'off' } } }} />
Upvotes: 2