Closed Bug 1862003 Opened 1 year ago Closed 1 year ago

unlocking disabled fieldset with javascript does not unlock fieldset inputs for editing

Categories

(Core :: Layout: Form Controls, defect)

Firefox 119
defect

Tracking

()

RESOLVED DUPLICATE of bug 1861027

People

(Reporter: neytiri, Unassigned)

Details

Attachments

(1 file)

Attached file fieldset_bug.html

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0

Steps to reproduce:

  1. have a disabled fieldset with some nested form with nested inputs (you can use attached fieldset_bug.html to reproduce)
  2. enable fieldset using javascript by setting fieldsetObject.disabled=false or by using jQuery fieldsetSelector.prop('disabled', false)
  3. try to edit input value inside unlocked fieldset
    (this issue was not present in version 118.0.2, it was introduced in 119.0)

Actual results:

input behaves as readonly, can't edit value

Expected results:

input of enabled fieldset should be editable in a way unaffected by it's presence inside fieldset

try more than once, sometimes it's working, sometimes not

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Form Controls' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Layout: Form Controls
Product: Firefox → Core

(In reply to Simon Speich from comment #3)

same as bug https://bugzilla.mozilla.org/show_bug.cgi?id=1862817

irrelevant, this report was created earlier

But same as bug https://bugzilla.mozilla.org/show_bug.cgi?id=1861027
thanks for the info

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1861027
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: