Skip to content

get rid of radio buttons in ion-select popover. #12310

Closed

Description

@jaufgang

This applies for ionic 2+

<ion-select> displays its list using radio buttons when the popover interface is selected. Radio boxes don't really add anything here and look ugly, especially for android (iOS looks ok because the radio boxes don't display anything for unselected items).

It makes sense to use radio buttons for the Alert interface because the user can select and item and then change their selection before hitting the "ok" button. The popover interface doesn't have an "ok" button so the radio boxes really don't seem to belong there.

The action-sheet interface doesn't have radio buttons, so it seems that there is no reason the popover interface needs to have them.

Activity

  1. brandyscarney commented on Aug 29, 2017

    @brandyscarney
    Member

    I agree with this. We should match the Material Design spec:

    Adding to my to-do list for Ionic 4.x. Thanks!

  2. added this to the milestone on Aug 29, 2017
  3. removed this from the milestone on Nov 15, 2017
  4. hitendramalviya commented on Nov 28, 2017

    @hitendramalviya

    Any workaround for ionic 3 I am trying to hide through display: none; it is not working at all.

  5. markhoward02 commented on Feb 10, 2018

    @markhoward02

    I put this CSS in my app.scss and it hid the radio buttons.

    .radio .radio-icon {
    display: none;
    }

  6. raajmayukh commented on Feb 24, 2018

    @raajmayukh

    Probably the best solution for me, put these lines in variable.scss and it hides radio buttons for entire app to match material design;

    $radio-md-icon-width: 0;
    $radio-md-icon-height:0;
    $radio-md-icon-border-width:0;
    $radio-md-icon-border-radius:0;

  7. added
    type: feature request
    package: core
    on Dec 4, 2018
  8. ebinezerp commented on May 29, 2019

    @ebinezerp

    Still radio button are appearing ? Any solution for this.

  9. DatScreamer commented on Nov 3, 2019

    @DatScreamer

    I agree with this. We should match the Material Design spec:

    Adding to my to-do list for Ionic 4.x. Thanks!

    Why hasn't this been done yet?

  10. brandyscarney commented on Nov 5, 2019

    @brandyscarney
    Member

    While we would love to fix every issue, there are almost 800 issues reported at the time of this comment and issues without workarounds get higher priority. It's not ideal but it is possible to use CSS to hide the radio in Ionic 4, see this Codepen: https://codepen.io/brandyscarney/pen/qBBoNNb

    We always welcome PRs for getting issues prioritized faster. Thanks!

  11. mayankkataria commented on Sep 10, 2020

    @mayankkataria

    Why is that code not working in my case? I can't even style any ionic component. Am i missing something?

  12. added this to the 6.0.0 milestone on Feb 3, 2021
  13. added
    type: feature request
    and removed
    type: feature request
    on Jul 16, 2021
  14. added a commit that references this issue on Jul 20, 2021
    2c07a15
  15. liamdebeasi commented on Jul 20, 2021

    @liamdebeasi
    Contributor

    Thanks for the issue! This was resolved via #23474, and this update will be available in Ionic Framework v6 beta 2.

  16. ionitron-bot commented on Aug 19, 2021

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  17. locked and limited conversation to collaborators on Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

package: coretype: feature request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions