Multiselect option has initial capital letter forced

This topic contains 6 replies, has 4 voices, and was last updated by  Andy 2 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #508077

    Andy
    Full Member
    Post count: 46

    I have set up multiselect fields which include options starting with lowercase letters e.g. “eBay.com”, “iOS”.

    These options get changed on the view listing and add listing pages so that they have an initial capital letter – “EBay.com” and “IOS”.

    The names should not be changed as it is a brand and they can start it with a lowercase letter if they want to, despite what the grammar police might think 😉

    Any way to stop the initial upper case letter being forced here?

    #508084

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    I will check with the developers about that.

    A

    #508136

    Guust
    Moderator
    Post count: 29970

    Try adding this CSS:

    .select2-container.gd-select2-container .select2-selection--multiple .select2-selection__choice {text-transform: lowercase;}

    Thanks

    #508157

    Andy
    Full Member
    Post count: 46

    Thanks Guust but CSS can’t fix this.

    I don’t want all the options to be lowercase, I want the casing of the options to be maintained exactly as I entered it.

    The initial capital letter is being forced on the server side by GeoDirectory, not by CSS, so by the time it is shown on the page there is no way to know if the initial letter was originally upper case or lower case.

    #508190

    Guust
    Moderator
    Post count: 29970

    Of course, silly me.
    Also, that CSS will lower the whole text, not just the first letter.
    Let’s wait for the developers.
    Thanks

    #508412

    Kiran
    Moderator
    Post count: 7069

    Hi Andy,

    This has been fixed and it will be in nest release.
    Patch available at here: https://github.com/AyeCode/geodirectory/commit/ef02269ff32072cf629d3ca8c5a9ddfc16e1775e

    Kiran

    #508466

    Andy
    Full Member
    Post count: 46

    Fantastic, that’s looking good to me now.

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket