Skip to content

SiIp4InputDirective documentation

selector exported-as
input[siIpV4] siIpV4

Directive for IPv4 address input fields.

Usage:

import { SiFormItemComponent } from '@siemens/element-ng/form';
import { SiIp4InputDirective } from '@siemens/element-ng/ip-input';

@Component({
  template: `
    <si-form-item label="IPv4 address">
      <input type="text" class="form-control" siIpV4 />
    </si-form-item>
  `,
  imports: [SiFormItemComponent, SiIp4InputDirective, ...]
})

Input Properties

Name Type Default Description
cidr
boolean false Enable CIDR (Classless Inter-Domain Routing) notation.
disabled
boolean false Whether the ip address input is disabled.
id
string si-ip-input-${SiIpInputDirective.idCounter++}

Types Documentation

No types to document for items on this page.


Except where otherwise noted, content on this site is licensed under MIT License.