How to delete the dropdown selected option!

Guys! can anyone help me to reslove the task. I have created a dropdown and the user can enter the option by clicking the add button the option is added in the dropdown and now the user want to delete the one of the option by selecting the dropdown option>>>

Now how can i delete the selected option!!!
Respected sir ! @ Gabor Kiss-Vamosi @ kisvegabor
help to reslove

Hi @DINESH ,

The LVGL does not provide a built-in function to delete a single specific option from a dropdown by index. The recommended approach is to rebuild the options list excluding the one you want to remove, using lv_dropdown_clear_options() and lv_dropdown_add_option()