Added validator for slice field
Updated validator for slice field