getgrav / grav-plugin-form

Grav Form Plugin
http://getgrav.org
MIT License
53 stars 79 forks source link

No markdown support for a checkbox? But only for checkboxes? #568

Closed kees-closed closed 2 years ago

kees-closed commented 2 years ago

In the documentation for the checkbox it is not mentioned if markdown supported is.

So therefore, I just tried:

        privacy-policy:
            label: 'Heb je onze [privacy verklaring](/privacy-verklaring) gelezen en ga je akkoord?'
            type: checkbox
            markdown: true
            validate:
                required: true

The checkbox part works great. However, no markdown support.

This is working with checkboxes:

        privacy-policy:
            label: 'Heb je onze [privacy verklaring](/privacy-verklaring) gelezen en ga je akkoord?'
            type: checkboxes
            markdown: true
            options:
                agreed: 'Gelezen en akkoord'
            validate:
                required: true
                message: 'Privacy verklaring'

Is there a way to enable markdown support for a checkbox in the same way (or another way) for the checkboxes?

kees-closed commented 2 years ago

It's probably due to this: https://discourse.getgrav.org/t/include-url-in-description-field-of-a-checkbox-form/20723/2?u=aqual1te

Will submit an issue with the Quark theme.

kees-closed commented 2 years ago

https://github.com/getgrav/grav-theme-quark/issues/161