Skip to content

Fix‌ Date Picker Issues and Countries inconsistency #4346 #4347 #4348

Manish requested to merge fix/date-picker-4346 into develop

Ticket(s) / Related Merge Requests

(Any issue cards for the merge request, and related merge requests/dependencies)

Summary of Changes

This MR uses a different DatePicker to fix the month-by-month selection issue, fixes date format to fix the date validation issues, and updates the countries inconsistency by using the latest values from the frontend. It also limits the phone number of the BankInformation screen to only support the regions that can open a bank account.

Testing Considerations

  • make sure all datepickers (channel edit, Wallet->cash->Add new bank info, Wallet->tokens->rewards date picker) work with the new picker and user is able to set the year as well as month
  • make sure you can update your date of birth in channel edit, and set date correctly in the above-mentioned date pickers
  • make sure countries in the BankInfo page are the same as the web and you can only select a phone number from those regions in that form

Regression Scope

  • all datepickers (The ones mentioned above. not time pickers or month pickers or datetime pickers)
  • countries list and phone number list in BankInfo screen

Platform Affected (web, mobile, etc)

all

Developer Testing Completed

local

Screenshots

https://www.loom.com/share/f84b38c324ad48b3a3e4801fe9a3de03

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode
Edited by Manish

Merge request reports