Custom indeterminate checkbox

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10034889
    Woland
    Participant

    Hello.

    Today I found a bug with custom checkboxes. I tried to set indeterminate property for custom checkbox but it doesn’t work (nothing happening).

    I trying to set it by jquery:
    selectAll.prop(‘indeterminate’, true);

    But if I try to apply this property to default input checkbox it works correctly.

    How can I fix it?


    #10034893
    Support
    Keymaster

    Hello, thanks for your purchase.

    Please try adding the giver CSS code below at (css/custom.css):

    .checkbox-custom input[type="checkbox"]:indeterminate + label:after {
        position: absolute;
        display: inline-block;
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        content: '\f068';
        top: 50%;
        left: 4px;
        margin-top: -5px;
        font-size: 11px;
        line-height: 1;
        width: 16px;
        height: 16px;
        color: #FFF;
    }

    Please try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


    If you are satisfied with Porto Admin and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads


    #10034906
    Woland
    Participant

    Thanks, it works! Just a little mistake: color #FFF makes the icon invisible 🙂


    #10034908
    Support
    Keymaster

    Hello,

    Great! 🙂

    If you need further assistance feel free to contact us.

    Kind Regards,

    Rodrigo.

    If you are satisfied with Porto Admin and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads


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

This topic is marked as "RESOLVED" and can not rceive new replies.