Form attributes added in block wrapper

Created on 20 March 2023, over 1 year ago
Updated 20 June 2023, about 1 year ago

Problem/Motivation

Steps to reproduce

- When I want to remove html5 validation, it will included in block wrapper rather than form tag

Proposed resolution

- Need to change line number 251 of build() of ContactBlock.php file
- From return $form; to return [$form];

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Postponed: needs info

Version

2.0

Component

Code

Created by

🇮🇳India pragna

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

Comments & Activities

  • Issue created by @pragna
  • 🇧🇬Bulgaria vuil Bulgaria 🇧🇬 🇪🇺 🌍
  • Status changed to Postponed: needs info about 1 year ago
  • 🇮🇳India samit.310@gmail.com

    HI @pragna,

    The resolution you proposed (From return $form; to return [$form];) will not work. As $form refers to The renderable form array representing the entire configuration form.

    Can you please elaborate more about this issue?

    Thanks
    Samit K.

Production build 0.69.0 2024