setValidators ([Validators.minLength(1), Validators.maxLength(30)]);. Note, this will reset any existing validators you added when you created ...
確定! 回上一頁