Ajaxified elements can be needed when some drawer settings depend on other ones (e.g. number of slices in a pie chart).
Since config forms are used in different contexts (views style settings, field widgets etc.) each of which has its own specifics (e.g. views handlers use 'url' settings instead of 'callback'), there should be a generic way to consider them all.

CommentFileSizeAuthor
#2 allow-ajax-for-drawer-forms-2893269.patch11.29 KBkpv

Comments

kpv created an issue. See original summary.

kpv’s picture

StatusFileSize
new11.29 KB

the patch is incomplete, see todos

kpv’s picture

When creating drawer config forms it should be considered that if number of keys changes using ajax then mappings subform should be changed by ajax too. E.g. there is a donut or a pie chart which can contain different number of slices. When changing the number of slices in the drawer config form, drawer mapping form should change to resemble this.

  • kpv committed bc2ed7c on 8.x-1.x
    Issue #2893269 by kpv: Allow drawer config forms to include elements...
kpv’s picture

committed though not finished

kpv’s picture

Status: Active » Needs work

  • kpv committed 88db583 on 8.x-1.x
    Issue #2893269 by kpv: Allow drawer config forms to include elements...

  • kpv committed 6664618 on 8.x-1.x
    Issue #2893269 by kpv: Allow drawer config forms to include elements...