Skip to content

Commit

Permalink
feat(ui): Make SPDX Expression input field remember its history
Browse files Browse the repository at this point in the history
This commit adds a history to the SPDX Expression input field, by
adding a "name" attribute to the input field. When the user starts
typing, the input field will show a dropdown with the previously
entered SPDX Expressions.

Signed-off-by: Etsija <[email protected]>
  • Loading branch information
Etsija committed Dec 27, 2023
1 parent 7810cb4 commit 7d666fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const ConclusionSPDX = ({ value, setValue }: Props) => {
<div className="flex">
<Input
className="w-full rounded-md text-xs"
type="text"
name="spdx"
placeholder="Write your SPDX expression here..."
value={value}
onChange={handleInput}
Expand Down

0 comments on commit 7d666fd

Please sign in to comment.