Skip to content

Commit 0eeba7a

Browse files
Add property meta for easier to customize
Not used internally
1 parent e04841e commit 0eeba7a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Fields/Field.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ class Field extends OrganicField implements JsonSerializable
127127

128128
public $label;
129129

130+
public $meta;
131+
130132
/**
131133
* Create a new field.
132134
*
@@ -544,6 +546,13 @@ public function label($label)
544546
return $this;
545547
}
546548

549+
public function meta($meta)
550+
{
551+
$this->meta = $meta
552+
553+
return $this;
554+
}
555+
547556
public function serializeToValue($request)
548557
{
549558
return [

0 commit comments

Comments
 (0)