Désactive l'auto-complétion des input
Cette auto-complétion était gênante sur Chrome notammentpull/701/head
parent
3739957039
commit
74c5abbfa3
|
@ -82,6 +82,7 @@ export default function CurrencyInput({
|
|||
}}
|
||||
onChange={handleChange}
|
||||
value={currentValue.toString().replace('.', decimalSeparator)}
|
||||
autoComplete="off"
|
||||
/>
|
||||
{!isCurrencyPrefixed && <> €</>}
|
||||
</div>
|
||||
|
|
|
@ -60,6 +60,7 @@ export default compose(
|
|||
debouncedSetFormValue(unit === '%' ? floatValue / 100 : floatValue)
|
||||
}}
|
||||
value={unit === '%' ? 100 * value : value}
|
||||
autoComplete="off"
|
||||
/>
|
||||
{suffixed && (
|
||||
<label className="suffix" htmlFor={'step-' + dottedName}>
|
||||
|
|
Loading…
Reference in New Issue