This formats the initial dollar amounts of pre-existing funding input fields to USD, with comma separators. This also applies the same formatting to those inputs as the user types.
Formatting while typing only applies when the amounts entered are numerical. And some extra validation was added now that those input fields allow for text instead of just numbers.
Closes #255
Demo
Testing Instructions
Create/navigate to a project phase
Create funding streams if needed
Confirm that pre-existing funding streams have their amounts already formatted to USD with comma separators
Edit pre-existing and new funding streams, particularly their funds and actual costs
Confirm that formatting does get applied while typing
Update the fundings to ensure that new inputs are actually saved
ah i was wondering why my extra options in toLocaleString weren't working before. it's because i was missing that "en-US" param at the very beginning that you mentioned. thanks for that!
Overview
This formats the initial dollar amounts of pre-existing funding input fields to USD, with comma separators. This also applies the same formatting to those inputs as the user types.
Formatting while typing only applies when the amounts entered are numerical. And some extra validation was added now that those input fields allow for text instead of just numbers.
Closes #255
Demo
Testing Instructions