There is no option to change the label of the edit button when "Link to previous pages in preview" is selected

Created on 24 November 2023, 10 months ago
Updated 7 December 2023, 10 months ago

Problem/Motivation

When I select "Link to previous pages in preview" under admin/webform/manage/
/settings/form a button to edit the previous page shows up in the preview page for each page.
I couldn't find a place where I could change the label of this button in the ui.
Maybe I am blind but I guess it has been forgotten.

Proposed resolution

I would expect to find this button label either in the form configuration or at the submit buttons customization at the element editing view.

πŸ› Bug report
Status

Closed: won't fix

Version

6.2

Component

User interface

Created by

πŸ‡©πŸ‡ͺGermany macdev_drupal Wiesbaden

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

Comments & Activities

  • Issue created by @macdev_drupal
  • Status changed to Needs review 10 months ago
  • πŸ‡ΊπŸ‡ΈUnited States jrockowitz Brooklyn, NY

    Currently, you can't change via the UI the 'Edit' button's label when 'Link to previous pages/cards in preview' is checked.

    The 'Edit' button label is defined via \Drupal\webform\WebformSubmissionForm::pagesElement

    I am hesitant to add any more features to the webform module especially when this edge case request can be accomplished via a form alter hook

  • πŸ‡©πŸ‡ͺGermany macdev_drupal Wiesbaden

    Yeah I understand.
    We just stumbeld upon this when a content creator was trying to set up a webform in a different language in a non multilingual drupal site.
    Our distro doesn't support that at the moment but people always try to hack funny things.
    So maybe we will use a config page and use a form alter hook to let them translate it in the UI somehow.

  • Status changed to Closed: won't fix 10 months ago
  • πŸ‡©πŸ‡ͺGermany macdev_drupal Wiesbaden

    Closing this issue.

Production build 0.71.5 2024