aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-03-31 21:57:32 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-03-31 21:57:32 -0400
commit4f8ddd385924b3c7c2b36acd28daf658ecc2cb09 (patch)
tree76257cd617edb1cc439f8edcaf7a20ca2a2d2069 /ufund-ui
parent43bab0db99649e118325cfece416f4f7b65a7d0c (diff)
downloadJellySolutions-4f8ddd385924b3c7c2b36acd28daf658ecc2cb09.tar.gz
JellySolutions-4f8ddd385924b3c7c2b36acd28daf658ecc2cb09.tar.bz2
JellySolutions-4f8ddd385924b3c7c2b36acd28daf658ecc2cb09.zip
Tweak validation in funding basket
Diffstat (limited to 'ufund-ui')
-rw-r--r--ufund-ui/src/app/components/funding-basket/funding-basket.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/ufund-ui/src/app/components/funding-basket/funding-basket.component.ts b/ufund-ui/src/app/components/funding-basket/funding-basket.component.ts
index b3826be..ecf452a 100644
--- a/ufund-ui/src/app/components/funding-basket/funding-basket.component.ts
+++ b/ufund-ui/src/app/components/funding-basket/funding-basket.component.ts
@@ -45,11 +45,11 @@ export class FundingBasketComponent implements OnInit {
if (contribution.value == '' || contribution.valueAsNumber <= 0) {
this.isValid = false;
- contribution.setAttribute("style", "color: #ff0000");
+ contribution.setAttribute("style", "border-color: #ff0000");
this.toastService.sendToast(ToastType.ERROR, "Invalid input in funding basket!")
setTimeout(() => {
- contribution.setAttribute("style", "color: #ffffff");
+ contribution.setAttribute("style", "border-color: #ffffff");
}, 3000);
}
}