Problem/Motivation
The Type select used to be the one that controlled visibility of extra fields.
Now that we have a region field to do that, the only remaining value in the Type field is "Visible". There will never be anything else with the current code base, not until we add support for formatters or something like that for them.
The current field is pretty confusing, especially if you're used to it from 8.2 and previous versions because you try to use it to make an extra field visible or hide it. Which doesn't work anymore.
Proposed resolution
Hide or get rid of that field completely.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#3 | field-ui-remove-type-for-extra-fields-2824778-2.patch | 1.62 KB | Berdir |
#2 | Selection_012.png | 45.43 KB | Berdir |
#2 | Selection_013.png | 65.31 KB | Berdir |
Comments
Comment #2
BerdirThat seems to be all that's left of that field :)
Adding before/after screenshot. Happend to have a test flag enabled, so two extra fields, one visible and the other not. Pay notice how it says "Visible" but it's actually disabled :)
Before:
After:
Comment #3
BerdirD'oh... patch... I'm getting old.
Comment #5
pashupathi nath gajawada CreditAttribution: pashupathi nath gajawada as a volunteer and commentedI am looking into it.
Comment #6
tim.plunkettI don't know how any of us thought this was a good idea in the other issue, of course a select with 1 option is silly.
That fail was unrelated:
Comment #8
xjmLOL, this is pretty great. I think https://www.drupal.org/node/2801513 (which I just updated and published) covers this well enough.
Committed 92c1974 and pushed to 8.3.x. Thanks!
Comment #10
tim.plunkettThis was not the 100% correct fix, see #2858852: [8.3.x regression] Extra fields cannot be used with tabledrag in Manage Display for a follow-up.