This component is an easy way to add input tags to your Nette projects
Copy or git clone this repository.
Move it into your Nette project folder
Create component in your Presenter like this
protected function createComponentTags(): TagsControl
{
$tags = new TagsControl();
$tags->setId('tagsValues');
$tags->setPlaceholder('We all love tags!');
return $tags;
}
You can also change the main and secondary color by adding
$tags->setColors(['Main color (in HEX)','Secondary color (in HEX)'])
Yes, I know it looks amazing!
I made this for my project, thought it might be useful for others too! Pull requests are welcomed.