1
0
Fork 0
mirror of synced 2024-10-01 17:47:46 +13:00
budibase/packages/builder
R2bEEaton 6896488451
Import Users CSV Carriage Return Support #7398
## Description
The ImportUsersModal takes in a CSV file expecting each line to have a valid email address. When this file is created in Microsoft Excel, Windows in general, or a text editor that uses the carriage return character `\r`, the import fails. This is because the CSV string is split into an email list by `csvString.split("\n")` which fails to account for `\r\n` newlines. This PR changes the split to be the regex `/\r?\n/` which will split on either `\n` or `\r\n`.

Addresses: 
- Issue #7398
- Discussion #7397
2022-08-22 07:59:05 -04:00
..
.vscode
assets
build
cypress Updating createApp test command 2022-08-12 17:31:35 +01:00
scripts
src Import Users CSV Carriage Return Support #7398 2022-08-22 07:59:05 -04:00
.gitignore
babel.config.js
CONTRIBUTING.md
cypress.json
index.html
LICENSE.md
nuxt.config.js
package.json v1.2.44-alpha.1 2022-08-22 09:19:26 +00:00
README.md
reporterConfig.json
routify.config.js
tsconfig.build.json
tsconfig.json
vite.config.js
yarn.lock Merge branch 'master' into develop 2022-07-27 16:32:36 -04:00

Get Started

yarn install

Vite dev server (port 3000): yarn run dev Build yarn run build