PricesField::error()
Creates an info field that shows an error message in place of a field that could not be created or rendered
PricesField::error(string $name, string $message, null|Kirby\Cms\ModelWithContent $model = null, null|Kirby\Form\Fields $siblings = null): Kirby\Form\Field\InfoField
Parameters
| Name | Type | Default |
|---|---|---|
$name |
string |
- |
$message |
string |
- |
$model |
null or Kirby\Cms\ModelWithContent |
null |
$siblings |
null or Kirby\Form\Fields |
null |
Return type
Parent class
Wagnerwagner\Merx\PricesField inherited from Kirby\Form\Field