Semantic-ui: Tag Input

Created on 10 Dec 2013  路  16Comments  路  Source: Semantic-Org/Semantic-UI

Can't find multi input like this in docs... That's not hard to create it myself but i think would be cool to have some default element/module.

0 0 0 0_3000__

Already Fixed UI Component

Most helpful comment

@jlukic is there option to insert new text tag if it is not available in the options list.

All 16 comments

Agreed, there's a lot of backlog on semantic. This is another useful thing missing.

I think the issue is that official plugins are attempting to use the same style of module design pattern to attach to same unit tests, and to offer same functionality (traces etc), and it seems people are slow to adopt it with contributions, so i have to wait until i have finish themeing, bugs, missing docs, missing tests before i can start creating new modules.

http://semantic-ui.com/spec/docs/modal.commented.html
http://semantic-ui.com/spec/docs/module.commented.html

Thanks for the spec links!
I will dig into it and will contribute if i will have something.. or at least will learn how to adopt it for my needs :smile_cat:

270

:+1:

Multiselect in 2.0 supports user tagging

Is this available from the search module? I don't see a way to do this with any elements besides dropdown, but the screenshot in the original issue shows a searchbar.

@jlukic is there option to insert new text tag if it is not available in the options list.

Dropdown works with api to let you handle large lists

How to insert new value between existing tags? I have a list, and I want to add new value in the middle of the list.

@Janatbek You can鈥檛, order manipulation is a known enhancement鈥擨 can鈥檛 find the issue right now, but it鈥檚 there. You could get values from the dropdown, manipulate them, then set exactly using the new array.

Try using https://semantic-ui.com/modules/dropdown.html#/examples
under Tagging and User Additions

<div class="ui sub header">Multiple</div>
<div class="ui fluid multiple search selection dropdown">
  <input name="tags" type="hidden">
  <i class="dropdown icon"></i>
  <div class="default text">Skills</div>
  <div class="menu">
    <div class="item" data-value="angular">Angular</div>
<div class="item" data-value="css">CSS</div>
<div class="item" data-value="design">Graphic Design</div>
<div class="item" data-value="ember">Ember</div>
<div class="item" data-value="html">HTML</div>
<div class="item" data-value="ia">Information Architecture</div>
<div class="item" data-value="javascript">Javascript</div>
<div class="item" data-value="mech">Mechanical Engineering</div>
<div class="item" data-value="meteor">Meteor</div>
<div class="item" data-value="node">NodeJS</div>
<div class="item" data-value="plumbing">Plumbing</div>
<div class="item" data-value="python">Python</div>
<div class="item" data-value="rails">Rails</div>
<div class="item" data-value="react">React</div>
<div class="item" data-value="repair">Kitchen Repair</div>
<div class="item" data-value="ruby">Ruby</div>
<div class="item" data-value="ui">UI Design</div>
<div class="item" data-value="ux">User Experience</div>
  </div>
</div>

Here's my solution based on vuejs, enjoy!
JsFiddle

image

@khan990 its not working .... When i tried to add new which arent available under dropdown ... it shows no results found ... and i cant press enter also ... Is there anything missing from me ?
Screen Shot 2563-08-23 at 00 52 00

@deshario, hope this helps

2020-08-24 09-21-01 2020-08-24 09_21_56

Write a new text and press enter. And try to check the version that you are using.

@khan990 What version are you using?

@deshario I recorded gif from https://semantic-ui.com/modules/dropdown.html#/examples. It should be 2.4.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

deneuxa picture deneuxa  路  3Comments

playgithub picture playgithub  路  3Comments

miguelmota picture miguelmota  路  3Comments

mllamazares picture mllamazares  路  3Comments