Skip to content

Commit 15fb1ed

Browse files
authored
Merge pull request #17 from givebutter/bugfix-saving-custom-fields
Make CustomField value attribute fillable
2 parents 49be725 + 8db513b commit 15fb1ed

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Models/CustomField.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ class CustomField extends Model
1212
use SoftDeletes;
1313

1414
protected $guarded = ['id'];
15+
16+
protected $fillable = [
17+
'value'
18+
];
19+
1520
protected $casts = [
1621
'answers' => 'array',
1722
];

0 commit comments

Comments
 (0)