Regression: Preview button is showing even if disabled in sticky form action

Created on 22 November 2024, 27 days ago

Problem/Motivation

A regression was introduced in 8.x-3.0-rc14 where the "Preview" button is showing in the sticky form action bar for an entity form even though the preview functionality is disabled. I have tested in 8.x-3.0-rc13 and the issue does not exist. The issue currently exists in 8.x-3.0-rc14 and 8.x-3.x-dev.

Steps to reproduce

  1. Edit a content type e.g. Article (/admin/structure/types/manage/article)
  2. Under Submission form settings > Preview before submitting > Select "Disabled"
  3. Save the content type Article
  4. Create a new Article (/node/add/article)
  5. Preview button is displayed but clicking on it does nothing.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇨🇦Canada chrisck BC, Canada

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024