maxkeppeler / sheets

⭐ ‎‎‎‏‏‎ ‎Offers a range of beautiful sheets (dialogs & bottom sheets) for quick use in your project. Includes many ways to customize sheets.
https://maxkeppeler.github.io/sheets/
Apache License 2.0
921 stars 77 forks source link

Default selection of option in InputRadioButtons not working #49

Closed puntogris closed 3 years ago

puntogris commented 3 years ago

Describe the bug When using InputSheet with InputRadioButtons the selected(index) doesn't work.

Library Version: 2.1.2

To Reproduce

with(InputRadioButtons {
                    required()
                    options(mutableListOf("Minutes", "Hours"))
                    selected(0)
                })