# You're modifying both fields every time any field changes. It's gonna cause an infinite loop of changes... I think the browser prevents the infinite loop hence you're only seeing it double.