Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/@angular/material/bundles/material-input.umd.js

    r59329aa re29cc2e  
    764764            }
    765765        };
     766        /** Whether the form control is a native select that is displayed inline. */
     767        MatInput.prototype._isInlineSelect = function () {
     768            var element = this._elementRef.nativeElement;
     769            return this._isNativeSelect && (element.multiple || element.size > 1);
     770        };
    766771        return MatInput;
    767772    }(_MatInputBase));
     
    786791                        '[required]': 'required',
    787792                        '[attr.readonly]': 'readonly && !_isNativeSelect || null',
     793                        '[class.mat-native-select-inline]': '_isInlineSelect()',
    788794                        // Only mark the input as invalid for assistive technology if it has a value since the
    789795                        // state usually overlaps with `aria-required` when the input is empty and can be redundant.
Note: See TracChangeset for help on using the changeset viewer.