Handle error in AssigneeInput when chars outside of the bs58 charset
Also improves the UX and only shows validation errors on submit, and not during input.
4 files changed
+26
-10
54662ad1
→
1c540380
modified src/lib/utils.ts
@@ -18,10 +18,16 @@ export function parseNodeId(
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/views/projects/Cob/AssigneeInput.svelte
@@ -23,34 +23,39 @@
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
| - | |
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
|
|
|
|
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -121,7 +126,6 @@
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -131,6 +135,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -139,7 +144,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified tests/e2e/project/assignees.spec.ts
@@ -39,6 +39,7 @@ test("add and remove assignees", async ({ page, authenticatedPeer }) => {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified tests/unit/utils.test.ts
@@ -136,6 +136,10 @@ describe("Parse Functions", () => {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|