Rework #6
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -120,7 +120,8 @@ export default function TagInput({
 | 
			
		|||
                    setTags(tags.filter(x=>x!==tag));
 | 
			
		||||
                }}>{tag}</li>)}
 | 
			
		||||
            </ul>
 | 
			
		||||
            <input ref={inputRef} type="text" className="flex-1 border-0 ml-2 focus:border-0 focus:outline-none" placeholder="Add tag"
 | 
			
		||||
            <input ref={inputRef} type="text" className="flex-1 border-0 ml-2 focus:border-0 focus:outline-none
 | 
			
		||||
            bg-transparent text-sm" placeholder="Add tag"
 | 
			
		||||
                onFocus={() => setIsFocused(true)} onBlur={() => setIsFocused(false)}
 | 
			
		||||
                value={input} onChange={(e) => setInput(e.target.value)} onKeyDown={(e) => {
 | 
			
		||||
                    if (e.key === "Enter") {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue