67P / kredits-web

Kredits Web UI
https://kredits.kosmos.org
6 stars 2 forks source link

Error when selecting "Special" in manual contribution form #125

Closed galfert closed 5 years ago

galfert commented 5 years ago

When choosing "Special" for the contribution kind, it shows "Community" as selected instead. And when trying to submit the form, it shows this error in the console:

code: 1
dataPath: "/kind"
message: "No enum match for: "special""
params:
value: ""special""
schemaPath: "/properties/kind/type"
subErrors: null
raucao commented 5 years ago

Means the schemas lib is not the latest version most likely.

raucao commented 5 years ago

Do you get this error locally? Because it's up to date in kredits-contracts and I'm rather sure I tested it manually.

galfert commented 5 years ago

No, I got that on https://kredits.kosmos.org when trying to add the call participations. I must have clicked the "Special" kind by accident at first and didn't notice, because the field was showing "Community" afterwards.