Skip to content

Commit

Permalink
Merge pull request #224 from creative-commoners/pulls/2/rename-ffv
Browse files Browse the repository at this point in the history
API Rename FormField Value to getFormattedValue
  • Loading branch information
GuySartorelli authored Feb 12, 2025
2 parents a026489 + 989d575 commit 7cbb50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/elemental/NumericFieldExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class NumericFieldExtension extends Extension
{
protected function updateValidate(ValidationResult $result)
{
if ($this->owner->Value() == 1) {
if ($this->owner->getValue() == 1) {
$result->addFieldError($this->owner->getName(), 'This field cannot be 1');
}
}
Expand Down

0 comments on commit 7cbb50e

Please sign in to comment.