orNull

Returns Input.value if it is valid, otherwise null