value must be of type text