bug: Repetitive dropdown functions (Dropdown and DropdownM2), as well as invalid documents (such as dense invalidation)
Los mantenedores suelen responder en 1 día
@ndonkoHenri ya está trabajando en esto.
Desde el 27/8/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Duplicate Check
- I have searched the opened issues and there are no duplicates
Describe the bug
In the official document, ft.Dropdown dense attribute invalid. And the height and menu_height are not displayed according to the preset values.DropdownM2 doesn't know if it's going to be deprecated.(https://flet.dev/docs/controls/dropdownm2/ Page Not Found)
Code sample
Code
import flet as ft
def main(page: ft.Page):
page.add(
ft.Column(
controls=[
ft.Row(
controls=[
ft.Dropdown(),
ft.Dropdown(dense=True),
ft.Dropdown(dense=False),
ft.Dropdown(),
]
),
ft.Row(
controls=[
ft.Dropdown(height=24),
ft.Dropdown(height=36),
ft.Dropdown(height=48),
ft.Dropdown(height=96),
]
),
ft.Row(
controls=[
ft.Dropdown(
menu_height=24,
options=[
ft.DropdownOption("a", "Style 2A"),
ft.DropdownOption("b", "Style 2B"),
ft.DropdownOption("c", "Style 2C"),
],
),
ft.Dropdown(
menu_height=36,
options=[
ft.DropdownOption("a", "Style 2A"),
ft.DropdownOption("b", "Style 2B"),
ft.DropdownOption("c", "Style 2C"),
],
),
ft.Dropdown(
menu_height=48,
options=[
ft.DropdownOption("a", "Style 2A"),
ft.DropdownOption("b", "Style 2B"),
ft.DropdownOption("c", "Style 2C"),
],
),
ft.Dropdown(
menu_height=96,
options=[
ft.DropdownOption("a", "Style 2A"),
ft.DropdownOption("b", "Style 2B"),
ft.DropdownOption("c", "Style 2C"),
],
),
ft.Dropdown(
menu_height=200,
options=[
ft.DropdownOption("a", "Style 2A"),
ft.DropdownOption("b", "Style 2B"),
ft.DropdownOption("c", "Style 2C"),
],
),
]
),
]
)
)
if __name__ == '__main__':
ft.run(main)
To reproduce
Run the repro code.
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]
Operating System
Windows
Operating system details
11
Flet version
0.85.2
Regression
I'm not sure / I don't know
Suggestions
Repair functionality or update documentation, or make better choices for Dropdown.
Logs
Logs
[Paste your logs here]
Additional details
No response
- Lenguaje dominante
- Python
- Estrellas
- 17.4k
- Forks
- 737
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 57
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de flet-dev/flet
-
feature: python 3.15 supportAbiertofeature request
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
flet-dev/flet#6985 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
bug: `use_state` with a callable initializer is inferred ambiguously by ty and mypyPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
flet build: common [tool.flet.deep_linking] is ignored on Android and iOSPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug packaging platform: mobile
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Sign Flet Windows ClientPosiblemente ocupada @FeodorFitsner la tomó hoy. Abiertoplatform: windows
flet-dev/flet#7011 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de flet-dev/flet
Issues similares
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
glossyio/traffic-monitor#264 ·
Los mantenedores suelen responder en 1 día
-
Add self-hostAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
Atarity/deploy-your-own-saas#102 ·
-
[Bug]: RDFlex silently drops the covariate adjustment when the outcome or treatment column is integer-typedPosiblemente ocupada @vrjdev la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
DoubleML/doubleml-for-py#424 ·
Los mantenedores suelen responder en 1 día
-
agentic-dmx docs enhancement
Dificultad 1/5 1-3 horas Aptitud para principiantes 86/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
521xueweihan/HelloGitHub#4150 ·