Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
0
[Blazor] Disabling Multi-Column Combo Box
posted

Hi!

I´m trying to disable the Multicomboboox, but it doesn´t seem to be any property for that?

How can I disable a Multicomboboox?

Best Regards

  • 7375
    Verified Answer
    Offline posted

    Hello Manuel,

    We dont have any property exposed for that but using the CSS you can do . We have class property exposed on the control .

    something like this :

    <style>
    
        .Classname
        {
        /*  display: none;
          visibility: hidden;*/
    
        opacity: 0.6;
        pointer-events: none;
        }
    
    </style>
    
        <div class="container vertical">
            <div class="container vertical">
                @if (CountryData != null)
                {
                    <IgbMultiColumnComboBox Height="50px" Width="400px"
                        DataSource="CountryData"
                        Fields="DisplayFields"
                        TextField="Country"
                        Placeholder="Choose a country"
                        DefaultColumnWidth="200" contenteditable
                        Class="Classname" />
                }
            </div>
        </div>