Form Block: AI input field appears when Contact Form module is inactive #40332
Description
Impacted plugin
Jetpack
Quick summary
When the Contact Form module is not active, we display a placeholder instead of the block controls in the block editor. Jetpack's AI Assistant input field is displayed below that placeholder, even though the AI Assistant cannot help you with the feature when the module is not active.
Steps to reproduce
- Go to Jetpack > Settings > Modules
- Deactivate the Contact Form feature
- Go to Posts > Add New
- Type
/contact
and insert a contact form block
A clear and concise description of what you expected to happen.
At this point I would expect to see the invitation to activate the form feature, and nothing else.
What actually happened
Instead I see the placeholder, as well as the AI assistant input field:
Impact
Some (< 50%)
Available workarounds?
Yes, easy to implement
If the above answer is "Yes...", outline the workaround.
You can solve the issue by activating the contact form module.
Platform (Simple and/or Atomic)
Atomic, Self-hosted
Logs or notes
No response
Metadata
Assignees
Labels
Type
Projects
Status
Done 🎉