maxLength method

  1. @ControllerProps(NodeProps.kMaxLengthProp)
void maxLength(
  1. TextInputRenderViewModel renderViewModel,
  2. int maxLength
)

Implementation

@ControllerProps(NodeProps.kMaxLengthProp)
void maxLength(TextInputRenderViewModel renderViewModel, int maxLength) {
  renderViewModel.maxLength = maxLength;
}