Please, how to put the items inside the select for...
# compose-web
e
Please, how to put the items inside the select for the user to choose an option? compose-web
Copy code
Div(attrs = { style { id("seAdmRet"); display(DisplayStyle.Block) }; classes("form-group") }) {
            Span { Text("Opção AdmRet - 1") }
            Select(attrs = { classes("custom-select", "mr-sm-2", "dlg-100") }
            ) {                
//                TextInput("ola1","GD")
//                Text( "opa")
//                 Text("olá")
            }
        }
t
The same way you would do in HTML 😉 The correct tag is
option
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
e
Copy code
Select(attrs = { classes("custom-select", "mr-sm-2", "dlg-100") }
) {
    Option(
        value = "GD",
        attrs = ({ value("GD") }),
        content = ({ Text("AdmRetGD")} )
    )

    Option(
        value = "7",
        attrs = ({ value("7") }),
        content = ({ Text("32")} )
    )
}