Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 30de3c8

Browse files
committed
Merge pull request symfony#1499 from shieldo/improve_wording
[Form] improved English usage (replaced 'based off of' with 'based on')
2 parents 62c70a0 + e050e04 commit 30de3c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ the correct values of a number of field options.
523523
And though you'll need to manually add your server-side validation, these
524524
field type options can then be guessed from that information.
525525

526-
* ``required``: The ``required`` option can be guessed based off of the validation
526+
* ``required``: The ``required`` option can be guessed based on the validation
527527
rules (i.e. is the field ``NotBlank`` or ``NotNull``) or the Doctrine metadata
528528
(i.e. is the field ``nullable``). This is very useful, as your client-side
529529
validation will automatically match your validation rules.

0 commit comments

Comments
 (0)