Skip to content

Commit

Permalink
Merge pull request toriphes#6 from Marco-Daniel/master
Browse files Browse the repository at this point in the history
fix: removed wrong FieldLabelPosEnum type
  • Loading branch information
toriphes committed Aug 26, 2021
2 parents e40ee3c + 9f64889 commit 0ef745c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/type/interface/class-form-field-interface.php
Expand Up @@ -83,12 +83,12 @@ public static function register( &$type_registry ) {
'description' => __( 'The field is required?', 'wp-graphql-ninja-forms' ),
],
'labelPos' => [
'type' => 'FieldLabelPosEnum',
'type' => 'String',
'description' => __( 'Position of the label', 'wp-graphql-ninja-forms' ),
],
'personallyIdentifiable' => [
'type' => 'Boolean',
'description' => __( 'Indtifiable?', 'wp-graphql-ninja-forms' ),
'description' => __( 'Identifiable?', 'wp-graphql-ninja-forms' ),
],
],
'resolveType' => function ( Field_Model $model ) use ( &$type_registry ) {
Expand Down
4 changes: 2 additions & 2 deletions src/type/object/class-field-type.php
Expand Up @@ -181,12 +181,12 @@ public static function get_common_fields() {
'description' => __( 'The field is required?', 'wp-graphql-ninja-forms' ),
],
'labelPos' => [
'type' => 'FieldLabelPosEnum',
'type' => 'String',
'description' => __( 'Position of the label', 'wp-graphql-ninja-forms' ),
],
'personallyIdentifiable' => [
'type' => 'Boolean',
'description' => __( 'Indtifiable?', 'wp-graphql-ninja-forms' ),
'description' => __( 'Identifiable?', 'wp-graphql-ninja-forms' ),
],
];
}
Expand Down

0 comments on commit 0ef745c

Please sign in to comment.