PromucFlow_constructor/app/client/src/widgets/InputWidget
Vicky Bansal f05c92603e
fix: Improper formatting for Input Widget for DataType currency (#9050)
* Fix currency number formating and add unit tests

* Fix Input currency type cypress test

* Fix currency number formating and add unit tests

* Fix Input currency type cypress test

* Add comments for utilities formatCurrencyNumber and limitDecimalValue

* Fix currency number formating and add unit tests

* Fix Input currency type cypress test

* Fix Input currency type cypress test

* Add comments for utilities formatCurrencyNumber and limitDecimalValue

* Fix upstep and downstep button action for formated currency input

* remove crendentials from cypress.json

* Fix input currency test flakiness

* Fix cypress test for currency input type

Fix formatCurrencyNumber function and added more unit tests

* Fix cypress test for currency input

Handle group separator and decimal separator when formatting and deformatting input for currency type

* remove console.log

* Handle formatting changes for default text

* Format input widget value for currency to handle default text

* remove unused import

* Add unit tests for getGroupSeparator and getDecimalSeparator functions

* add function to get user locale

* use preventDefault in input increment/decrement button click

* Use getLocale function, use String function

* use Number function for type conversion

* fix number to string type

* Handle 0 value for numbers

Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2021-12-30 00:40:01 -08:00
..
component fix: Improper formatting for Input Widget for DataType currency (#9050) 2021-12-30 00:40:01 -08:00
widget fix: Improper formatting for Input Widget for DataType currency (#9050) 2021-12-30 00:40:01 -08:00
constants.ts refactor: Widget Development API (#6405) 2021-09-09 20:40:22 +05:30
icon.svg feat: Appsmith design system changes (#8125) 2021-10-04 21:04:37 +05:30
index.ts fix: 8336 updated isLoading property in all widgets (#9409) 2021-12-14 07:55:58 +00:00