more
This commit is contained in:
43
src/pageElements/TagSelector.js
Normal file
43
src/pageElements/TagSelector.js
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
<Typeahead
|
||||
className="flex-grow-1 create-case-taginput"
|
||||
id="case-type-search"
|
||||
labelKey="tagName"
|
||||
options={parsedTags}
|
||||
minLength={1}
|
||||
ref={typeaheadRef}
|
||||
placeholder="Case Type - start typing"
|
||||
onChange={(selected) => {
|
||||
let item = null;
|
||||
for (const currentItem of selected) {
|
||||
item = { ...currentItem };
|
||||
}
|
||||
setSelectedTag(item);
|
||||
typeaheadRef.current.clear();
|
||||
}}
|
||||
/>
|
||||
<div className="case-tag-container">
|
||||
{selectedCaseTags.map((tag, i) => (
|
||||
<div className="tag-container">
|
||||
<div className="tag-box">
|
||||
<div className="tag-ex-box">
|
||||
<div className="tag-ex"> x</div>
|
||||
</div>
|
||||
<div className="casetag-name">{tag}</div>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<Radiogroup
|
||||
title="Client position"
|
||||
options={radioOptions}
|
||||
value={data.clientPosition.value}
|
||||
disabled={isBusy}
|
||||
onClick={(e) => handleChangeInput(e, "clientPosition")}
|
||||
/>
|
||||
|
||||
*/
|
||||
*/
|
||||
Reference in New Issue
Block a user