code: public function getAutocomplete()
      {
          $autocomplete = [];
          foreach ($this->fields as $field => $extra) {
              if (! key_exists('autocomplete', $extra)) {
                  continue;
              }
              
              $autocomplete[] = $field;
          }
          
          return $autocomplete;
      }
docs: Get the validation rules that apply to the request.
  
  @return array