Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Feb 28, 2025
1 parent 0bee4a8 commit b4b63c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/schemas/docs/02-forms/04-checkbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Checkbox::make('terms_of_service')
->accepted(FeatureFlag::active())
```

<UtilityInjection set="validationRules" version="4.x">As well as allowing a static value, the `accepted()` method also accepts a function to dynamically calculate it. You can inject various utilities into the function as parameters.</UtilityInjection>
<UtilityInjection set="formFields" version="4.x">As well as allowing a static value, the `accepted()` method also accepts a function to dynamically calculate it. You can inject various utilities into the function as parameters.</UtilityInjection>

### Declined validation

Expand All @@ -105,4 +105,4 @@ Checkbox::make('is_under_18')
->declined(FeatureFlag::active())
```

<UtilityInjection set="validationRules" version="4.x">As well as allowing a static value, the `declined()` method also accepts a function to dynamically calculate it. You can inject various utilities into the function as parameters.</UtilityInjection>
<UtilityInjection set="formFields" version="4.x">As well as allowing a static value, the `declined()` method also accepts a function to dynamically calculate it. You can inject various utilities into the function as parameters.</UtilityInjection>
4 changes: 2 additions & 2 deletions packages/schemas/docs/02-forms/05-toggle.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Toggle::make('terms_of_service')
->accepted(FeatureFlag::active())
```

<UtilityInjection set="validationRules" version="4.x">As well as allowing a static value, the `accepted()` method also accepts a function to dynamically calculate it. You can inject various utilities into the function as parameters.</UtilityInjection>
<UtilityInjection set="formFields" version="4.x">As well as allowing a static value, the `accepted()` method also accepts a function to dynamically calculate it. You can inject various utilities into the function as parameters.</UtilityInjection>

### Declined validation

Expand All @@ -139,5 +139,5 @@ Toggle::make('is_under_18')
->declined(FeatureFlag::active())
```

<UtilityInjection set="validationRules" version="4.x">As well as allowing a static value, the `declined()` method also accepts a function to dynamically calculate it. You can inject various utilities into the function as parameters.</UtilityInjection>
<UtilityInjection set="formFields" version="4.x">As well as allowing a static value, the `declined()` method also accepts a function to dynamically calculate it. You can inject various utilities into the function as parameters.</UtilityInjection>

0 comments on commit b4b63c4

Please sign in to comment.