Skip to content

Commit 52c8d8a

Browse files
josip-miloticjmilotic
andauthored
Eager load values for selection type (#72)
Co-authored-by: jmilotic <josip.milotic@asseco-see.hr>
1 parent 28cd934 commit 52c8d8a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/App/Models/SelectionType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ class SelectionType extends ParentType implements \Asseco\CustomFields\App\Contr
2121

2222
protected $appends = ['name'];
2323

24+
protected $with = ['values'];
25+
2426
protected static function newFactory()
2527
{
2628
return SelectionTypeFactory::new();

0 commit comments

Comments
 (0)