mattermost-mobile/app/components/autocomplete_selector
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
..
autocomplete_selector.tsx MM-33993 Allow apps form and interactive dialogs to clear select fields (#5398) 2022-08-23 12:33:48 -04:00
index.ts MM-34194 Add multiselect to Apps Forms (#5400) 2021-10-27 11:35:11 +02:00