First of all I should say that, I'm not native in English that may cause to misunderstanding on explanation. I know that bootstrap 5 has Radio button new styles, but I need to have multiple groups of radio buttons on the view side. (e.g.
<input type="radio" class="btn-check" name="options-outlined" id="success-outlined" autocomplete="off" checked>
<label class="btn btn-outline-success" for="success-outlined">bootstrap radio1</label>
<input type="radio" class="btn-check" name="options-outlined" id="success-outlined" autocomplete="off">
<label class="btn btn-outline-success" for="success-outlined">bootstrap radio2</label>
<input type="radio" class="btn-check" name="MyGroup name" id="success-outlined" autocomplete="off" checked>
<label class="btn btn-outline-success" for="success-outlined">My radio1</label>
<input type="radio" class="btn-check" name="MyGroup name" id="success-outlined" autocomplete="off">
<label class="btn btn-outline-success" for="success-outlined">My radio2</label>
) As I can see in this post https://stackoverflow.com/a/55396672/4754253 Grouping is working in simple radio without styles. but when I want to change the name property in bootstrap radio it does not work. any suggestion on this subject is appreciated. thanks.