mattermost-mobile/app/screens/apps_form
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-34194 Add multiselect to Apps Forms (#5400) 2021-10-27 11:35:11 +02:00
apps_form_component.test.tsx [Apps Framework] Separate calls (#5877) 2022-03-24 11:03:06 -04:00
apps_form_component.tsx [Apps Framework] Separate calls (#5877) 2022-03-24 11:03:06 -04:00
apps_form_container.tsx [Apps Framework] Separate calls (#5877) 2022-03-24 11:03:06 -04:00
apps_form_field.tsx MM-33993 Allow apps form and interactive dialogs to clear select fields (#5398) 2022-08-23 12:33:48 -04:00
dialog_introduction_text.test.tsx [MM-37553] Update default themes (#5648) 2021-09-03 10:50:24 -04:00
dialog_introduction_text.tsx [MM-37553] Update default themes (#5648) 2021-09-03 10:50:24 -04:00
index.ts [Apps Framework] Separate calls (#5877) 2022-03-24 11:03:06 -04:00