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

Fixed the null message input in contact form #818

Closed
wants to merge 1 commit into from

Conversation

sanyaP19
Copy link

@sanyaP19 sanyaP19 commented May 24, 2024

Fixes Issue🛠️

Closes #781

Description👨‍💻

I have fixed this issue, here, if the message input field is NULL then the submit button gets disabled. When its value gets updated, the button gets enabled again.
Added no cursor feature when the button is disabled and lightened background color of the button when disabled.

Type of change📄

  • Bug fix (non-breaking change which fixes an issue)

How this has been tested✅

I tested this bug by adding and removing data from the message input field and checking if the message is being sent or not and the button is disabled or not if there is no data in the message field.

Checklist✅

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added demonstration in the form of GIF/video file
  • I am an Open Source Contributor

Screenshots/GIF📷

Recording 2024-05-24 131241

Copy link

netlify bot commented May 24, 2024

Deploy Preview for calcdiverse ready!

Name Link
🔨 Latest commit e0f3f93
🔍 Latest deploy log https://app.netlify.com/sites/calcdiverse/deploys/665045b25e5fe900080c26f7
😎 Deploy Preview https://deploy-preview-818--calcdiverse.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Hey @sanyaP19, Welcome to the project CalcDiverse! 🎊
Thanks for your contribution! Your effort makes this project better. Keep it up! 🙌
Please wait for the PR to be reviewed. Happy Coding!! ✨

@Rakesh9100 Rakesh9100 changed the title contact page submit button updated Fixed the null message input in contact form May 24, 2024
@Rakesh9100
Copy link
Owner

Netlify manages the submissions and ensures that the form isn't submitted until all fields are filled. I missed this and assigned the issue unnecessarily. No need for the PR to disable the button. Please create and focus on other issues @sanyaP19

@Rakesh9100 Rakesh9100 closed this May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Fix the null message input in contact form
2 participants