$field->or()
Provides a fallback if the field value is empty
Parameters
Name | Type | Default |
---|---|---|
$fallback | mixed |
null |
Return type
This method does not modify the existing $field
object but returns a new object with the changes applied. Learn more →