Skip to content

Commit a895398

Browse files
author
Sebastian Thulin
committed
fix: map email & message types as text and textarea
1 parent ee3ba88 commit a895398

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

source/php/Module/FormatSteps.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ private function fieldMapper(array $field)
4949
case 'true_false':
5050
return $this->mapTrueFalse($field);
5151
case 'text':
52+
case 'email':
5253
return $this->mapText($field);
5354
case 'taxonomy':
5455
return $this->mapTaxonomy($field);
@@ -65,6 +66,7 @@ private function fieldMapper(array $field)
6566
case 'url':
6667
return $this->mapUrl($field);
6768
case 'textarea':
69+
case 'message':
6870
return $this->mapTextarea($field);
6971
case 'radio':
7072
return $this->mapRadio($field);

0 commit comments

Comments
 (0)