Check if only recognized values are passed with options object.
Documentation for the 'forceMaxLength' option.