diff --git a/docs/filter-types/filters-number-range.md b/docs/filter-types/filters-number-range.md index bb0c7a04a..938900ef9 100644 --- a/docs/filter-types/filters-number-range.md +++ b/docs/filter-types/filters-number-range.md @@ -20,6 +20,7 @@ public function filters(): array 'minRange' => 0, 'maxRange' => 100, 'suffix' => '%', + 'prefix' => '$', ]) ->filter(function (Builder $builder, array $values) { $builder->where('users.success_rate', '>=', intval($values['min'])) @@ -32,4 +33,6 @@ public function filters(): array The default values should be set in the options() method. -You may also specify a minimum and maximum range in the config() options, and should you wish to use real values instead of a percentage, you can change the "suffix" to a metric of your choosing. +You may also specify a minimum and maximum range in the config() options, and should you wish to use real values instead of a percentage. +You can change the "suffix" to a metric of your choosing. +You can change the "prefix" to an item of your choosing (e.g $/£/€)