Bulk import when comma + space separation
NateBaldwinDesign opened this issue · comments
Description
When importing bulk colors with a comma and space delimitation, the last color in the array is given an extra space before the color value.
This input into the bulk import:
ff00ff, ff0000, 0000ff
will assign #
to all colors, and the final color will output as:
# 0000ff
This breaks the function and returns only the valid colors into the input.
Steps to reproduce
- Go to http://localhost:1234/
- Click on bulk import and add "ff00ff, ff0000, 0000ff"
- Observe #ff00ff and #ff0000 are added to the UI, the final color is not, and the dialog remains open
Expected behavior
All colors import and dialog dismissed
Screenshots
Environment
- Browser(s) and OS(s):