'URL only' choice in Form display is not honoured.

Created on 7 November 2022, about 2 years ago
Updated 26 May 2023, over 1 year ago

Problem/Motivation

When using an iframe field - in my case in a paragraph but I'm not sure that matters - if you set the Iframe field widget in the Form display settings to 'URL only, the manadatory Iframe Title input field still appears in the edit form and so we are forced to set one...

My configuration

Web Server: Apache/2.4.33 (Win64) OpenSSL/1.0.2u mod_fcgid/2.3.9 PHP/8.1.0
PHP: 8.1.0 
Database: MySQL 5.7.24

8.x-2.20 in Drupal 9.48

The behaviour is the same in the 8.x-2.20 version of the module but in that case, the field not not appear to be manadatory so we get away with it! ...

Thanks all for any guidance here

🐛 Bug report
Status

Closed: works as designed

Version

2.20

Component

Miscellaneous

Created by

🇬🇧United Kingdom SirClickALot Somerset

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany neffets

    Works as designed.

    The formular-switcher allows
    * "URL with width and height" - asking for url and width and height
    * "URL with height" - asking for url and height (no width, so its using width 100% of outer element)
    * "URL only" - asking the user only for URL and using default width and height given by the admin

    The "title" is always needed for accessibility issues. And asked for in all three cases;

Production build 0.71.5 2024