complete
This commit is contained in:
Родитель
ba96986429
Коммит
fd12de3490
|
@ -47,7 +47,9 @@
|
|||
<fab-icon iconName="Add" (onClick)="onClickEventHandler($event)" (onMouseOver)="onMouseOverEventHandler($event)">
|
||||
</fab-icon>
|
||||
|
||||
<fab-text-field [(value)]="textFieldValue"></fab-text-field>
|
||||
<div>------------------------------------------------------------</div>
|
||||
<fab-text-field maxLength="15" [(value)]="textFieldValue"></fab-text-field>
|
||||
<div>------------------------------------------------------------</div>
|
||||
|
||||
<span>{{ textFieldValue }}</span>
|
||||
|
||||
|
|
|
@ -65,6 +65,8 @@ export class FabBaseTextFieldComponent extends ReactWrapperComponent<ITextFieldP
|
|||
@Input() renderPrefix?: InputRendererOptions<ITextFieldProps>;
|
||||
@Input() renderSuffix?: InputRendererOptions<ITextFieldProps>;
|
||||
|
||||
@Input() maxLength: number;
|
||||
|
||||
@Output() readonly onClick = new EventEmitter<MouseEvent>();
|
||||
@Output() readonly onFocus = new EventEmitter<FocusEvent>();
|
||||
@Output() readonly onBlur = new EventEmitter<Event>();
|
||||
|
|
|
@ -57,6 +57,7 @@ import { FabBaseTextFieldComponent } from './base-text-field.component';
|
|||
[RenderSuffix]="renderSuffix"
|
||||
[Change]="onChangeHandler"
|
||||
[BeforeChange]="onBeforeChangeHandler"
|
||||
[maxLength]="maxLength"
|
||||
[NotifyValidationResult]="onNotifyValidationResultHandler"
|
||||
(onClick)="onClickHandler($event)"
|
||||
(onFocus)="onFocusHandler($event)"
|
||||
|
|
Загрузка…
Ссылка в новой задаче