Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - Add support to expose the Conditionals inside the webform using the Graphql #9

Open
adicoderanger opened this issue Jan 13, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@adicoderanger
Copy link

adicoderanger commented Jan 13, 2021

I had created a webform with a certain elements inside it & I was able to expose the elements/fields inside the webform via graphql using the following format

{
  webformById(webform_id: "request_a_callback") {
    title

    elements {
      ... on WebformElement {
        id
        type
      }
      ... on WebformElementTextField {
        required {
          message
        }

        placeholder
        description

        multiple {
          message
          limit
        }
      }
    }
  }
}

& I have a question about Is there an option In order to expose the conditionals inside the webform using Graphql?

also Inside the supported element list provided by you am not seeing an option to expose the conditions in webform via Graphql

as far as my knowledge am not seeing any option to expose the only conditionals using the graphql_webform module.

@carolpettirossi
Copy link
Collaborator

Hi @adicoderanger,

Thanks for creating this issue. This is not actually a bug since the module doesn't support yet the conditionals feature.
We are open and keen for PRs, if you have any time to contribute back to the community, that would be great.

Cheers,
Carol

@carolpettirossi carolpettirossi added the enhancement New feature or request label Mar 18, 2021
@carolpettirossi carolpettirossi changed the title Exposing the Conditionals inside the webform using the Graphql Feature Request - Add support to expose the Conditionals inside the webform using the Graphql Mar 18, 2021
@Daveiano
Copy link
Contributor

Implemented in #22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants