Skip to main content
Light Dark System

Linked Select

<zn-linked-select> | ZnLinkedSelect
Since 1.0 experimental

Short summary of the component’s intended use.

Select Department Billing Sales Support

<zn-select name="departmentFid" id="departmentFid" label="Department" class="zn-mb" size="medium" placement="bottom"
           form="" data-optional="" data-valid="" data-user-valid="" open="">
  <zn-option value="" role="option" aria-selected="false" aria-disabled="false" tabindex="-1">Select Department
  </zn-option>
  <zn-option value="FID:DEP:1677585809:MZxvTiWlzBlSG" role="option" aria-selected="true" aria-disabled="false"
             tabindex="-1">Billing
  </zn-option>
  <zn-option value="FID:DEP:1677585809:Kd83L0aIhsGpB" role="option" aria-selected="false" aria-disabled="false"
             tabindex="-1">Sales
  </zn-option>
  <zn-option value="FID:DEP:1677585809:3mBpgQnrkzLSO" role="option" aria-selected="false" aria-disabled="false"
             tabindex="-1">
    Support
  </zn-option>
</zn-select>

<zn-linked-select linked-select="departmentFid" value="" name="queueFid" label="Queue"
                  options="{&quot;-&quot;:{&quot;-&quot;:&quot;Select Department&quot;},&quot;FID:DEP:1677585809:MZxvTiWlzBlSG&quot;:{&quot;-&quot;:&quot;Select Queue&quot;,&quot;FID:TKT:QUE:1677585809:DFP20NM0Q&quot;:&quot;Generic&quot;,&quot;FID:TKT:QUE:1678099064:8nGJ5OQfp&quot;:&quot;Money Back&quot;},&quot;FID:DEP:1677585809:Kd83L0aIhsGpB&quot;:{&quot;-&quot;:&quot;Select Queue&quot;,&quot;FID:TKT:QUE:1677585809:ma9I3ORGu&quot;:&quot;Generic&quot;},&quot;FID:DEP:1677585809:3mBpgQnrkzLSO&quot;:{&quot;-&quot;:&quot;Select Queue&quot;,&quot;FID:TKT:QUE:1677585809:cFvFFL8o6&quot;:&quot;Generic&quot;}}"
                  data-optional="" data-valid="" data-user-valid=""></zn-linked-select>

Examples

First Example

TODO

Second Example

TODO

Importing

If you’re using the autoloader or the traditional loader, you can ignore this section. Otherwise, feel free to use any of the following snippets to cherry pick this component.

To import this component from the CDN using a script tag:

<script type="module" src="https://cdn.jsdelivr.net/npm/@kubex/zinc@1.0.0/dist/components/linked-select/linked-select.js"></script>

To import this component from the CDN using a JavaScript import:

import 'https://cdn.jsdelivr.net/npm/@kubex/zinc@1.0.0/dist/components/linked-select/linked-select.js';

To import this component using a bundler:

import '@kubex/zinc/dist/components/linked-select/linked-select.js';

Slots

Name Description
(default) The default slot.
example An example slot.

Learn more about using slots.

Events

Name React Event Description Event Detail
zn-event-name Emitted as an example. -

Learn more about events.

Custom Properties

Name Description Default
--example An example CSS custom property.

Learn more about customizing CSS custom properties.

Parts

Name Description
base The component’s base wrapper.

Learn more about customizing CSS parts.

Dependencies

This component automatically imports the following dependencies.

  • <zn-example>