Crestron Components Lib - Showcase App

ch5-select: methods and feedbackMode = 'submit'

This section provides examples for the ch5-select methods:

  • submit()
  • reset()
  • getDirty()
  • getValue()
  • setValue() - This method will always set clean values (i.e. dirty is automatically set to false)

feedbackMode="submit" is required for submit, reset and getDirty methods. In this mode, the signal defined by sendEventOnChange attribute and ch5-select-option.sendEventOnClick attribute will not be sent until the submit() method is called and the signal will only be sent if the visual state of the component is different than that of the actual state of the component.
feedbackMode="direct" is the default value and is used in all other examples.