mattermost-mobile/app/screens/interactive_dialog
Michael Kochell c1936040c3
MM-33993 Allow apps form and interactive dialogs to clear select fields (#5398)
* allow apps form and int dialogs to clear select fields

* don't show x if the field is disabled

* change down chevron to right chevron

* increase padding around close x to increase touch area

* positioning

* remove chevron and divider

* use hitSlop instead of padding. fix position of x

* lint

* types

* update type

* lint

* make onClear optional

* optional chaining

* set multiselect value to empty array on clear

* include null in type

* useCallback improvement

* fix clearing multi-selected items state issue

* fix clearing multi-selected items state issue

* lint

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-23 12:33:48 -04:00
..
__snapshots__ [MM-37553] Update default themes (#5648) 2021-09-03 10:50:24 -04:00
dialog_element.js MM-33993 Allow apps form and interactive dialogs to clear select fields (#5398) 2022-08-23 12:33:48 -04:00
dialog_element.test.js [MM-37553] Update default themes (#5648) 2021-09-03 10:50:24 -04:00
dialog_introduction_text.js Add linter rules for import order and type member delimiters (#5514) 2021-07-23 11:06:04 +02:00
dialog_introduction_text.test.js [MM-37553] Update default themes (#5648) 2021-09-03 10:50:24 -04:00
index.js Add linter rules for import order and type member delimiters (#5514) 2021-07-23 11:06:04 +02:00
interactive_dialog.js V1 dependencies and bump to RN 0.67.2 (#5908) 2022-02-02 15:28:57 -03:00
interactive_dialog.test.js [MM-37553] Update default themes (#5648) 2021-09-03 10:50:24 -04:00