title: Larvel Nova Custom Field Class not found error
body: <p>I created a custom field in Laravel Nova using the command</p>
  
  <pre><code>php artisan nova:field mycode/disabled-field
  </code></pre>
  
  <p>This placed a folder called <strong>DisabledField</strong> in the <strong>nova-components</strong> folder.</p>
  
  <p>I'm now trying to import this field on one of my resources like so.</p>
  
  <pre><code>use mycode\DisabledField\DisabledField;
  </code></pre>
  
  <p>and add the field to the fields function</p>
  
  <pre><code>DisabledField::make('Product', 'product_id'),
  </code></pre>
  
  <p>When I refresh the page I get the following error:
  <a href="https://i.stack.imgur.com/t8SH6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t8SH6.png" alt="enter image description here"></a></p>
  
  <p><strong>What I've tried</strong></p>
  
  <ol>
  <li>Run <code>composer dump-autoload</code></li>
  <li>Run <code>composer update</code> </li>
  <li>Run <code>php artisan cache:clear</code></li>
  <li>Made sure the Disabled field class is in the correct namespace.</li>
  </ol>
  
  <p>I'm not sure what I'm doing wrong.</p>