Upgrade to 3.1.0
This commit is contained in:
@@ -102,6 +102,12 @@ class Field extends Component
|
||||
'before' => function ($before = null) {
|
||||
return I18n::translate($before, $before);
|
||||
},
|
||||
/**
|
||||
* Conditions when the field will be shown
|
||||
*/
|
||||
'when' => function ($when = null) {
|
||||
return $when;
|
||||
},
|
||||
/**
|
||||
* Default value for the field, which will be used when a Page/File/User is created
|
||||
*/
|
||||
|
Reference in New Issue
Block a user