$pricesField->value()
Returns the value of the field if it has a value otherwise it returns null
$pricesField->value(bool $default = false):
Parameters
| Name | Type | Default |
|---|---|---|
$default |
bool |
false |
Return type
mixed
Parent class
Wagnerwagner\Merx\PricesField inherited from Kirby\Form\Field\ValueField