ArthurSonzogni / FTXUI

:computer: C++ Functional Terminal User Interface. :heart:
MIT License
6.64k stars 399 forks source link

dropdown example bugs #861

Closed ClemenceCc closed 3 months ago

ClemenceCc commented 3 months ago

in the branch main example dropdown No matter what you choose, the default title "Checkbox" will be displayed. when i try to debug the code ,i find ,in the radiobox ,selected() is correct ,but in the dropdown component func Render selected() always get 0 How to resolve it

ArthurSonzogni commented 3 months ago

Thanks! The bugs were introduced by: https://github.com/ArthurSonzogni/FTXUI/commit/3c9fa60d28fb0e4cd1c29d215a7bcea1b4002c15

I am going to fix them.

ArthurSonzogni commented 3 months ago

Thanks! This should be fixed by the title above. Please let me know if it isn't.