From c84737f71886a9ac3558552ddd8964f51d0f8a9a Mon Sep 17 00:00:00 2001 From: Christian Leucht <3417446+Chrico@users.noreply.github.com> Date: Fri, 12 Jan 2024 15:27:38 +0100 Subject: [PATCH] Update 01 - create elements.md --- docs/01 - create elements.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/01 - create elements.md b/docs/01 - create elements.md index a43ac94..1785a96 100644 --- a/docs/01 - create elements.md +++ b/docs/01 - create elements.md @@ -22,7 +22,7 @@ use ChriCo\Fields\Element\Element; $text = (new Element('my-text')) ->withAttributes([ 'type' => 'text']); -$number = (new Element('my-number')); +$number = (new Element('my-number')) ->withAttributes([ 'type' => 'number' ]); ```