Skip to content

Commit

Permalink
Add documentation for min and max values
Browse files Browse the repository at this point in the history
  • Loading branch information
pelmered committed Feb 22, 2024
1 parent 45570f9 commit c8b9d63
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ MoneyInput::make('price')
MoneyInput::make('price')
->currency('SEK')
->locale('sv_SE');


MoneyInput::make('price')
->currency('SEK')
->locale('sv_SE')
->minValue(0) // Do not allow negative values.
->maxValue(10000); // Add min and max value (in minor units, i.e. cents) to the input field. In this case no values over 100
```

### Table column
Expand Down

0 comments on commit c8b9d63

Please sign in to comment.