Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit 2c7f351

Browse files
author
vvo
committed
fix(value): put a comma after the suggestion name in value
1 parent 4d3f45a commit 2c7f351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/formatInputValue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default function formatInputValue({
44
country,
55
name
66
}) {
7-
const out = `${name}
7+
const out = `${name},
88
${city ? `${city},` : ''}
99
${administrative ? `${administrative},` : ''}
1010
${country ? `${country}` : ''}`.replace(/\s*\n\s*/g, ' ').trim();

0 commit comments

Comments
 (0)