setValidator method

  1. @ControllerProps(NodeProps.kValidator)
void setValidator(
  1. TextInputRenderViewModel renderViewModel,
  2. String strValidator
)

Implementation

@ControllerProps(NodeProps.kValidator)
void setValidator(TextInputRenderViewModel renderViewModel, String strValidator) {
  renderViewModel.dispatcher.validator = strValidator;
}