Unable to render a plugin template Creating a plugin that contains a custom field. I need to have some custom html for the settings of the field. I have the following in my field class:

/**
 * @inheritdoc
 */
public function getSettingsHtml()
{
    return Craft::$app-&gt;getView()-&gt;renderTemplate("src/templates/settings.html", [
        'field' =&gt; $this,
    ]);
}


I have a "settings.html" in "src/templates". 

What am I doing wrong?
Please read the docs (or this) about how to render plugin templates. It's all well explained there . You don't need to define src/templates but your plugin handle

`plugin-handle/settings.html`