ClassificationGroupInput

June 6, 2017 · View on GitHub

Synopsis

ClassificationGroupInput react component. Provide possibility to search and select ClassificationGroups

Props Reference

NameTypeDescription
idstringId of component
namestringName of component
valueoneOfType: array, objectCurrent value of component. Note: if multiple prop is true, value must be array of objects.
onChangefuncCallback fired when the value changes
onFocusfuncCallback fired when the component take focus
onBlurfuncCallback fired when the component loose focus
multipleboolAllows to select several elements. Note: if true, value must be array of objects.
readOnlyboolDisallows any interaction with the component.
disabledboolDisallows any interaction with the component.
onlyLeafCouldBeSelectedboolAllows to select only leafs of classifications tree

Details

Write this section if needed.

Code Example

<ClassificationGroupInput
  serviceRegistry={serviceName => ({ url: 'http://localhost:3000' })}
  value={{
     classificationGroupId: 'EditableProductInformation',
     classification: {
       classificationId: 'basic'
     }
   }}
/>

Contributors

Alexey Sergeev, Dmitry Divin, Daniel Zhitomirsky

Component Name

ClassificationGroupInput

License

Licensed by © 2016 OpusCapita