Skip to content

Commit

Permalink
validate user input before saving
Browse files Browse the repository at this point in the history
  • Loading branch information
bfiessinger committed Jul 12, 2022
1 parent b8fb90a commit 1da2e67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Pages/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public function mount(): void

public function submit(): void
{
$this->validate();

foreach ($this->data as $key => $data) {
Valuestore::make(
config('filament-settings.path')
Expand Down

0 comments on commit 1da2e67

Please sign in to comment.