0

Not allowed to post code, so here's a simplified version:

import {Input} from ...;
const Field = ()=>{
        
    const onChangeHandler = e=>{
        console.log(e.target, e.target.value);
    };
    return(<Input onChange={onChangeHandler}/>;
}

I get <input value="$10.00"> logged as e.target, but $1.000 logged as e.target.value. Why is this, and are there ways around this issue? <Input/> is being imported from a private library if that's relevant.

dawg
  • 61
  • 7

0 Answers0