"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/material-experimental/mdc-input/input.ts" between
components-12.0.3.tar.gz and components-12.0.4.tar.gz

About: components offers Component infrastructure and Material Design components for Angular.

input.ts  (components-12.0.3):input.ts  (components-12.0.4)
skipping to change at line 38 skipping to change at line 38
'[class.mat-mdc-textarea-input]': '_isTextarea', '[class.mat-mdc-textarea-input]': '_isTextarea',
// Native input properties that are overwritten by Angular inputs need to be synced with // Native input properties that are overwritten by Angular inputs need to be synced with
// the native input element. Otherwise property bindings for those don't wor k. // the native input element. Otherwise property bindings for those don't wor k.
'[id]': 'id', '[id]': 'id',
'[disabled]': 'disabled', '[disabled]': 'disabled',
'[required]': 'required', '[required]': 'required',
'[attr.placeholder]': 'placeholder', '[attr.placeholder]': 'placeholder',
'[attr.readonly]': 'readonly && !_isNativeSelect || null', '[attr.readonly]': 'readonly && !_isNativeSelect || null',
// Only mark the input as invalid for assistive technology if it has a value since the // Only mark the input as invalid for assistive technology if it has a value since the
// state usually overlaps with `aria-required` when the input is empty and c an be redundant. // state usually overlaps with `aria-required` when the input is empty and c an be redundant.
'[attr.aria-invalid]': 'errorState && !empty', '[attr.aria-invalid]': '(empty && required) ? null : errorState',
'[attr.aria-required]': 'required', '[attr.aria-required]': 'required',
}, },
providers: [{provide: MatFormFieldControl, useExisting: MatInput}], providers: [{provide: MatFormFieldControl, useExisting: MatInput}],
}) })
export class MatInput extends BaseMatInput {} export class MatInput extends BaseMatInput {}
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)