Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fixbug] required field check #2022

Merged
merged 10 commits into from
May 25, 2024

Conversation

zhangshenghang
Copy link
Member

What's changed?

#2017

  • Notice Receiver Required field verification
  • Notice Policy Required field verification
  • Notice Template Required field verification

Checklist

@tomsun28 tomsun28 added the good first pull request Good for newcomers label May 22, 2024
Comment on lines 710 to 713
// @ts-ignore
if (this.ruleForm.invalid) {
// @ts-ignore
Object.values(this.ruleForm.controls).forEach(control => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi, no suggest use the @ts-ignore to ignore warning, how about this this.ruleForm?.invalid or others

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you are right, I will optimize it, thanks for the reminder

Comment on lines 356 to 359
// @ts-ignore
if (this.receiverForm.invalid) {
// @ts-ignore
Object.values(this.receiverForm.controls).forEach(control => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi how about here @ts-ignore and below

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forgot to change some parts, I have changed them

Copy link
Contributor

@tomsun28 tomsun28 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@tomsun28 tomsun28 merged commit f9f12a2 into apache:master May 25, 2024
3 checks passed
@zhangshenghang zhangshenghang deleted the fixbug-required-field-check branch September 3, 2024 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

2 participants