Form Tag
Form tag component.
Form Tag, Personalization Blocks
Example:
// AppServiceProvider, "boot" method. TallStackUi::customize() ->form('tag') ->block('block', 'classes');
WARNING!
You are browsing the docs for an old version of TallStackUI. Consider upgrade your project to TallStackUI v3.
<x-tag />
<x-tag label="Frameworks" hint="Select your preferred frameworks" />
An option to limit the number of tags that can be added.
<x-tag label="Frameworks" hint="Select your preferred frameworks" :limit="2" />
An option to set a single-character prefix.
<x-tag prefix="#" />
<!--For the erase event the correct index is$event.detail.tags instead of $event.detail.tag--> <x-tag ... x-on:add="alert(`Introduced: ${$event.detail.tag}`)" x-on:remove="alert(`Removed: ${$event.detail.tag}`)" x-on:erase="alert(`Erased: ${$event.detail.tags}`)" />