Support for the readonly/readwrite attribute

Created on 2 September 2010, about 14 years ago
Updated 11 April 2023, over 1 year ago

While trying to fix #107038: Javascript to select module dependencies I needed to have the 'readonly' state working.

This patch makes it applicable to an element, although the proper support for it may only apply to text and password input fields.

I was trying to use it with a checkbox and Firefox still allowed me to check and uncheck it, even though it 'greyed out' as if it was disabled.

Maybe other browsers support it better.

João Ventura

📌 Task
Status

Closed: outdated

Version

10.1

Component
Javascript 

Last updated 1 day ago

Created by

🇵🇹Portugal jcnventura

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

  • Needs manual testing

    The change/bugfix cannot be fully demonstrated by automated testing, and thus requires manual testing in a variety of environments.

  • html5

    Implements and supports the use of HTML5.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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.

Production build 0.71.5 2024