replace valuechange with input.Fixes #549