diff --git a/src/Fields/Text.php b/src/Fields/Text.php
index <HASH>..<HASH> 100644
--- a/src/Fields/Text.php
+++ b/src/Fields/Text.php
@@ -42,4 +42,16 @@ class Text extends Field
      * @var string
      */
     protected $type = 'text';
+
+    /**
+     * Set the character limit
+     *
+     * @return self
+     */
+    public function maxLength(int $length): self
+    {
+        $this->config->set('maxlength', $length);
+
+        return $this;
+    }
 }
diff --git a/tests/Fields/TextTest.php b/tests/Fields/TextTest.php
index <HASH>..<HASH> 100644
--- a/tests/Fields/TextTest.php
+++ b/tests/Fields/TextTest.php
@@ -98,4 +98,10 @@ class TextTest extends TestCase
         $field = Text::make('Append')->append('suffix')->toArray();
         $this->assertSame('suffix', $field['append']);
     }
+
+    public function testMaxLength()
+    {
+        $field = Text::make('Title with length')->maxLength(10)->toArray();
+        $this->assertEquals($field['maxlength'], 10);
+    }
 }
feat: added maxLength for texts fields (#<I>)

* feat: added maxLength for texts fields



* fix: typo maxlength