Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: frontend borrower monthly income 34 & build errors #42

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

evgongora
Copy link

@evgongora evgongora commented Feb 24, 2025

Pull Request for TrustBridge - Close Issue

Pull Request Information

This PR implements the monthly income field in the Account Settings module for borrower users. The field is conditionally rendered based on the user's role and includes proper validation, formatting, and translations.

Add here some information

🌀 Summary of Changes

  • Added Monthly Income Field:

Implemented a new form field specifically for borrowers
Added case-insensitive role checking to ensure proper display
Integrated with existing form validation and state management

  • Form Schema Updates:

Updated accountFormSchema with monthly income validation
Added validation for positive numbers
Made the field optional with proper type handling

  • Translation Updates:

Added new translation keys for monthly income field
Included label, placeholder, and description texts
Maintained multilingual support

  • UI/UX Improvements:

Used shadcn/ui components for consistent styling
Added proper number input handling
Implemented form validation messages

🛠 Testing

Evidence

📂 Related Issue

This pull request will close #34 upon merging.


🎉 Thank you for reviewing this PR! 🎉

@evgongora evgongora marked this pull request as draft February 24, 2025 17:20
@evgongora evgongora marked this pull request as ready for review February 24, 2025 17:38
@evgongora
Copy link
Author

@gchyuli GM! PR ready for review, let me know if there's anything I should change.

@evgongora evgongora changed the title Feature frontend borrower monthly income 34 Feature: frontend borrower monthly income 34 Feb 24, 2025
@evgongora evgongora changed the title Feature: frontend borrower monthly income 34 Feature: frontend borrower monthly income 34 & build errors Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display and Update Monthly Income in Borrower Account
1 participant