We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 298e589 commit 94bd172Copy full SHA for 94bd172
src/Gustiawan/FormBuilder/Form.php
@@ -45,6 +45,8 @@ class Form
45
"color" => null
46
];
47
48
+ public $extra = null;
49
+
50
/**
51
* Construct the form head with given options
52
*
@@ -55,6 +57,7 @@ public function __construct(array $options = [])
55
57
$this->action = $options['action'];
56
58
$this->method = $options['method'];
59
$this->data = array_key_exists("data", $options) ? $options['data'] : [];
60
+ $this->extra = array_key_exists("extra", $options) ? $options['extra'] : [];
61
62
$this->button['color'] = config('form_generator.style') == "tailwind" ? "bg-blue-400" : "btn-primary";
63
0 commit comments