src/ui/viewer/components/field/wrappers/logical-combo/smart-logical-combo-wrapper.component.ts
| changeDetection | ChangeDetectionStrategy.Eager |
| selector | SmartLogicalComboWrapper |
| templateUrl | ./smart-logical-combo-wrapper.component.html |
Properties |
Methods |
|
Inputs |
Outputs |
| buttons |
Type : EditorButton[]
|
Default value : []
|
| componentInstance |
Type : any
|
| contentStyle |
Type : any
|
| field |
Type : any
|
| fieldStyle |
Type : any
|
| hasAbsolutePosition |
Type : boolean
|
| isNumeric |
Type : boolean
|
| model |
Type : any
|
| selected |
Type : any
|
| showDateTimeZone |
Type : boolean
|
| useDateTimeZones |
Type : boolean
|
| modelChange |
Type : EventEmitter<any>
|
| Public updateValue | ||||||
updateValue(newValue: any)
|
||||||
|
Parameters :
Returns :
void
|
| logicalComboComponent |
Type : SmartLogicalComboComponent
|
Decorators :
@ViewChild(SmartLogicalComboComponent)
|
| logicalComboElementRef |
Type : ElementRef
|
Decorators :
@ViewChild('vLogicalCombo', {read: ElementRef})
|
| Public elementRef |
Type : ElementRef
|
| enabledStateDirective |
Type : EnabledStateDirective
|
Decorators :
@ViewChild(EnabledStateDirective)
|
| Public helperService |
Type : SmartViewerHelperService<AbstractFrameComponent>
|
| smartWidgetDirective |
Type : InputFacadeDirective
|
Decorators :
@ViewChild(InputFacadeDirective)
|
<!--
**************************************************************************
* Copyright © 2006-2026 by Consultingwerk Ltd. ("CW") - *
* www.consultingwerk.com and other contributors as listed *
* below. All Rights Reserved. *
* *
* Software is distributed on an "AS IS", WITHOUT WARRANTY OF ANY *
* KIND, either express or implied. *
* *
* Contributors: *
* *
**************************************************************************
--------------------------------------------------------------------------
File : smart-logical-combo-wrapper.component.html
Purpose : Template for Smart Logical Combo Wrapper.
Author(s) : Radu Nicoara
Created : Jan 16, 2024
--------------------------------------------------------------------------
-->
<smart-logical-combo
smart-widget
[format]="field.inputSettings.format || 'yes/no'"
[mandatory]="field.inputSettings?.mandatory || field.definition?.mandatory || field.required || false"
[smartModel]="model"
(smartModelChange)="updateValue($event)"
(blur)="helperService.inputBlurred.next(field.fieldName)"
(focus)="helperService.inputFocused.next(field.fieldName)"
[name]="field.fieldName"
[enabledState]="field.enabledState"
[editorButtons]="buttons"
(onEditorButtonClicked)="handleEditorButtonClicked($event)"
#vLogicalCombo
[attr.dataHelpUrl]="field.inputSettings.helpUrl">
</smart-logical-combo>