Skip to content

feat: More option for justify (ion-select) #27242

Closed as not planned
Closed as not planned

Description

@Wasenshi123

Prerequisites

Describe the Feature Request

Related to this: #27239

I would like to request that ion-select's justify has more option to make the placeholder appear after the label, but the arrow at the end.

Describe the Use Case

https://stackblitz.com/edit/3we1ad-kzmne4?file=index.html

I am trying to use new modern syntax for label and as you can see in the link, ion-select 's placeholder is aligned at the end of the box. Unlike the original, it's aligned at the start.

(If I use justify="start", the arrow is also moved too, I don't want that)

Describe Preferred Solution

No response

Describe Alternatives

No response

Related Code

No response

Additional Information

Perhaps it would be better if we can control each elements individually (placeholder alignment and arrow alignment separately)

Activity

  1. liamdebeasi commented on Apr 19, 2023

    @liamdebeasi
    Contributor

    Thanks for the report. I'm going to fold this into: #27112

    If you had access to the native select wrapper you would be able to do something like this to get the desired result:

    <ion-select justify="start" label="My Label">...</ion-select>
    ion-select::part(wrapper) {
      width: 100%;
    }

    We plan on adding #27112 in an upcoming feature release of Ionic.

  2. ionitron-bot commented on May 19, 2023

    @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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions