Skip to content

Confirm Email Field Placeholder && Label Support #8

Description

@mosesintech

Is your feature request related to a problem? Please describe.
The Confirm Email field is currently using the placeholder value for the Email field, but not the placeholder value for the Confirm Email field. It is also just using the string 'Confirm Email' as the label, when it should come from inputs data.

... on WpEmailField {
          hasEmailConfirmation
          placeholder
          inputs {
              ... on WpEmailInputProperty {
                  placeholder
              }
          }
      }

Should be an easy fix. Something like:

const confirmPlaceholder = inputs[1].placeholder
const confirmLabel = inputs[1].label

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions