Fix of always required field

All the fields was required event if it shouldn't be.
for example, an Email field that not required and the value if empty, the error receive is:
"errors": {
        "email": [
            "The value  is invalid for the field email."
        ],
}

So I just added that it should verify if the value is valid only if there is a value.