Running this modal succesfully creates the option in Craft but when I save it, it just reverts to no link. Am I missing something? The field should just save text, no validation.
<?php
namespace peekstudio\craftlinkitextension\models;
use lenz\linkfield\models\input\InputLinkType;
// use lenz\linkfield\models\LinkType;
class LinkitTypeForm extends InputLinkType
{
/**
* @var string
*/
public string $name = 'typeform';
/**
* @var bool
*/
public bool $disableValidation = true;
/**
* @var string
*/
public string $displayName = 'Typeform';
/**
* @var string
*/
public string $placeholder = 'Typform Id';
}
Running this modal succesfully creates the option in Craft but when I save it, it just reverts to no link. Am I missing something? The field should just save text, no validation.
In my plugin file:
Any help would be greatly appreciated.