Closed (won't fix)
Project:
Webform
Version:
8.x-5.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2019 at 14:44 UTC
Updated:
21 Aug 2020 at 09:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
casey commentedComment #3
jrockowitz commentedThe attached webform replicates the issue and the issue is fixed using your patch.
I agree the disabled element values should be cleared because they are not submitted to the server. The problem is that I am sure some people are currently relying on the conditionally disabled element value to still be preserved.
A few options.
Comment #4
jrockowitz commentedHere is a link discussing and documenting that disabled element values are not sent to the server.
I am marking this a major because Webforms with disabled elements are not working as expected.
Comment #5
jrockowitz commentedPostponing this change to Webform 8.x-6.x.
Comment #6
jrockowitz commentedHere is a really tricky related issue. Disabled managed file values are being lost when the managed file is disabled via JavaScript.
@see #3107168: Behaviour of file element if disabled
Comment #7
jrockowitz commentedI think this change is going to be to disruptive and potentially cause unexpected data loss.