Skip to content

Commit

Permalink
Fix - Price non-numeric value encountered (#1804)
Browse files Browse the repository at this point in the history
This PR fix error occurs when the use try to save decimal price
  • Loading branch information
lguichard authored Jul 5, 2024
1 parent 74dd68f commit 0b9376f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public function getBasePriceFormSection(): Section
Forms\Components\TextInput::make('value')
->label('')
->statePath($index.'.value')
->numeric()
->label(
__('lunarpanel::relationmanagers.pricing.form.basePrices.form.price.label')
)
Expand All @@ -114,6 +115,7 @@ public function getBasePriceFormSection(): Section
Forms\Components\TextInput::make('compare_price')
->label('')
->statePath($index.'.compare_price')
->numeric()
->label(
__('lunarpanel::relationmanagers.pricing.form.basePrices.form.compare_price.label')
)
Expand Down

0 comments on commit 0b9376f

Please sign in to comment.