Manual Reference Source
import NodeInstancesFilter from 'cloudify-stage/basic/NodeInstancesFilter.js'
public class | source

NodeInstancesFilter

Extends:

react~React.Component → NodeInstancesFilter

NodeInstancesFilter - a component showing dropdown with nodes instances of specified deployment. Data is dynamically fetched from manager.

Access

Stage.Basic.NodeInstancesFilter

Usage

NodeInstancesFilter

<NodeInstancesFilter name='nodeFilter' value={[]} onChange={()=>{}} deploymentId='nodecellar' />

Static Member Summary

Static Public Members
public static

propTypes

Static Public Members

public static propTypes: * source

propTypes

Properties:

NameTypeAttributeDescription
name string

name of the field

value string

value of the field

deploymentId string

ID of deployment for which Node Instances will be fetched

onChange Function

function to be called on field's value change

label string
  • optional
  • default: ''

field label

placeholder string
  • optional
  • default: ''

field's placeholder

help string
  • optional
  • default: ''

field's help description

upward boolean
  • optional
  • default: false

make dropdown to expand upwards