skip to Main Content

How do I retrieve the values of a radio group from an HTML dialog?

index.html: <body> <dialog class="dialog"> <form class="report__form" method="dialog"> <div> <input type="radio" name="report" vale="vulgar" /> <label for="vulgar">Vulgar/Offensive Language</label> </div> <div> <input type="radio" name="report" vale="duplicate" /> <label for="Duplicate">Duplicate</label> </div> <div> <input type="radio" name="report" vale="broken" /> <label for="broken">Broken</label> </div> <button class="dialog__submit">Submit</button> </form> </dialog> <button…

VIEW QUESTION

Android Studio – Radio Button inside Recyclerview is not working properly in Kotlin

Adapter Class -------------- class FilterByDataAdapter( val filterByData: (ArrayList<String>) -> Unit, val filterByDataRadioBtn: (String) -> Unit ) : RecyclerView.Adapter<FilterByDataAdapter.FilterByDataViewHolder>() { private lateinit var itemFilterByListBinding: ItemFilterByListBinding private lateinit var filerByDataList: ArrayList<FilterByItemDataModel> private lateinit var filterByName: String var filteredData: ArrayList<String> = arrayListOf() override…

VIEW QUESTION
Back To Top
Search