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.
2 parents 860648a + a222232 commit f4c9122Copy full SHA for f4c9122
src/Html/Editor/Fields/Field.php
@@ -190,11 +190,11 @@ public function format(string $format): static
190
/**
191
* Set field default value.
192
*
193
- * @param float|bool|int|string $value
+ * @param float|bool|int|string|array $value
194
* @return $this
195
* @see https://editor.datatables.net/reference/option/fields.def
196
*/
197
- public function default(float|bool|int|string $value): static
+ public function default(float|bool|int|string|array $value): static
198
{
199
$this->attributes['def'] = $value;
200
0 commit comments