You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/controls/dropdown.md
+3-11Lines changed: 3 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ sidebar_label: Dropdown
6
6
Dropdown is used to help people make a choice from a menu and put the selected item into the text input field. It's also possible to filter the list based on the text input or search one item in the menu list.
7
7
8
8
:::info
9
-
Since version 0.27.0, Flet uses [DropdownMenu](https://api.flutter.dev/flutter/material/DropdownMenu-class.html) flutter widget for [Dropdown](/docs/controls/dropdown) control, which is a Material 3 version of previously used DropdownButton.
9
+
Since version 0.27.0, Flet uses [DropdownMenu](https://api.flutter.dev/flutter/material/DropdownMenu) flutter widget for [Dropdown](/docs/controls/dropdown) control, which is a Material 3 version of previously used DropdownButton.
10
10
11
11
Some properties of previous Dropdown implementation are not available in the new version and were "stubbed" - they will not break your program but don't do anything. See the list of deprecated properties [here](#deprecated-dropdown-properties-and-events).
12
12
@@ -244,13 +244,9 @@ An optional Icon at the front of the text input field inside the decoration box
244
244
245
245
Defaults to null. If this is not null, the menu items will have extra paddings to be aligned with the text in the text field.
246
246
247
-
### `menu_height`
247
+
### `max_menu_height`
248
248
249
-
The height of the dropdown menu. If this is null, the menu will display as many items as possible on the screen.
250
-
251
-
### `menu_width`
252
-
253
-
The width of the dropdown menu. If this is null, the menu width will be the same as input textfield width.
249
+
The maximum height of the dropdown menu. If this is null, the menu will display as many items as possible on the screen.
254
250
255
251
### `options`
256
252
@@ -412,10 +408,6 @@ instead.**
412
408
413
409
The height of the items/options in the dropdown menu.
414
410
415
-
### ~~`max_menu_height`~~
416
-
417
-
The maximum height of the dropdown menu. If this is null, the menu will display as many items as possible on the screen.
418
-
419
411
### ~~`options_fill_horizontally`~~
420
412
421
413
Whether the dropdown's inner contents to horizontally fill its parent.
0 commit comments