Skip to content

Commit

Permalink
Merge pull request #217 from creative-commoners/pulls/2/remove-fields…
Browse files Browse the repository at this point in the history
…validator

MNT Update inline comment
  • Loading branch information
GuySartorelli authored Dec 11, 2024
2 parents dd12ade + a3e19c2 commit 2563562
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions code/GridFieldArbitraryData/ArbitraryDataModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,10 @@ public function getCMSFields(): FieldList
return FieldList::create($fields);
}

// Note that a FieldsValidator is used by default, but we can add additional validation if we want
// by implementing this method:
// Note that we can add additional validation if we want by implementing this method:
// public function getCMSCompositeValidator()
// {
// return CompositeValidator::create([
// FieldsValidator::create(),
// RequiredFieldsValidator::create(['Title']),
// ]);
// }
Expand Down

0 comments on commit 2563562

Please sign in to comment.