Fix handling of value property on inputs