Extra conditional input field on chart widget

Created on 13 December 2024, 4 months ago

Hi, I need to add an extra input field to the charts edit widget. If chart type is selected/changed I want to display an extra checkbox (use drilldown). Is there something like form #states I can use in the charts form?

πŸ’¬ Support request
Status

Active

Version

5.1

Component

Miscellaneous

Created by

πŸ‡©πŸ‡ͺGermany vistree

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @vistree
  • Status changed to Postponed: needs info 5 days ago
  • πŸ‡ΊπŸ‡ΈUnited States bluegeek9

    Hi vistree,

    I am not sure what is being requested. Can you give us more details?

  • πŸ‡©πŸ‡ͺGermany vistree

    @bluegeek9,
    I have a paragraph with an charts field attached.
    If I create a charts paragraph, I need an extra checkbox on the charts general form. The one, where you select the charts type and you fill the table with the charts data.
    I wan't to use drilldowns and race charts - and to write my own charts_alter, I need those extra checkboxes ("use drilldown", "use race").
    For me it seems that right now we can only add those checkboxes by patching the module. This is not really a good approach and maybe other need to add different fields in the future?
    So, it would be nice to be able to alter the charts input form to add additional fields.

  • πŸ‡ΊπŸ‡ΈUnited States bluegeek9
Production build 0.71.5 2024