/**
  * Render the ajax request output directly and halt execution
  * 
  * @param Page $page
  * @param Field $field
  * 
  */
 protected function renderAjax(Page $page, Field $field)
 {
     $inputfield = $field->getInputfield($page);
     if (!$inputfield) {
         return;
     }
     echo $inputfield->render();
     if ($this->notes) {
         echo "<p class='notes'>" . $this->wire('sanitizer')->entities($this->notes) . "</p>";
         $this->notes = '';
     }
     exit;
 }