Hello, when implementing the donut chart, I can't use the formatter to d

Hello, when implementing the donut chart, I can't use the formatter to display the label values ( https://apexcharts.com/docs/options/plotoptions/pie/#labels ).

PlotOptionsBuilder.get().withPie(PieBuilder.get()
                .withDonut(DonutBuilder.get()
                        .withSize("70%")
                        .withLabels(LabelsBuilder.get()
                                .withShow(false)
                                .withName(NameBuilder.get().withShow(true)
                                        .withOffsetY(-16d)
                                        .withColor("#adad44")
                                        .build())
                                .withValue(ValueBuilder.get().withFormatter(
                                        " function (val) { " +
                                        "    return val " +
                                        "   } ")
                                .build())

When displayed, it throws the following error (js):

The same formatting function works on DataLabels... ...

Has anybody found a workaround for this?

From the revision history it seems that this was solved in an earlier version, but I'm having exactly the same issue with Vaadin 23 and ApexCharts.JS 23.0.0