File

protocol-lwm2m/components/configuration/typed-forms/connectivity-settings.component.ts

Extends

Lwm2mFormWrapperBase

Metadata

Index

Properties
Methods

Constructor

constructor(service: Lwm2mConfigurationService<ConnectivitySettings>)
Parameters :
Name Type Optional
service Lwm2mConfigurationService<ConnectivitySettings> No

Methods

createForm
createForm()
Returns : {}
ngOnDestroy
ngOnDestroy()
Returns : void
ngOnInit
ngOnInit()
Returns : void
save
save()
Returns : void

Properties

Protected endpoint
Type : LWM2MEndpoint
Default value : LWM2MEndpoint.connectivity
buttons
Type : object
Default value : {}
cancel
Default value : () => {...}
Protected destroy$
Type : Subject<void>
Default value : new Subject()
fields
Type : FormlyFieldConfig[]
Default value : []
form
Default value : new FormGroup({})
model
Default value : {} as T
options
Type : FormlyFormOptions
Default value : { formState: { disabled: false } }
<formly-form
  *ngIf="fields?.length > 0; else empty"
  [model]="model"
  [form]="form"
  [fields]="fields"
  [options]="options"
  data-cy="lwm2m-device-configuration--formly-form"
></formly-form>
<ng-template #empty>
  <c8y-ui-empty-state
    [icon]="'c8y-device-protocols'"
    title="{{ 'No configuration selected' | translate }}"
    subtitle="{{ 'Select a configuration on the left' | translate }}"
  ></c8y-ui-empty-state>
</ng-template>

results matching ""

    No results matching ""