Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Mar 13, 2024
1 parent 039bfa8 commit ae7860e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ render(<Form.SubmitIndicator state="pending" />)

### Integration

The indicator is implemented by default in the [SubmitButton](/uilib/extensions/forms/extended-features/Form/SubmitButton/) and [FieldBlock](/uilib/extensions/forms/create-component/FieldBlock/) label. It will be displayed when the `onSubmitAsync` event is used on the [Form.Handler](/uilib/extensions/forms/extended-features/Form/Handler/) component. You find some examples down below.
The indicator is implemented by default in the [SubmitButton](/uilib/extensions/forms/extended-features/Form/SubmitButton/) and [FieldBlock](/uilib/extensions/forms/create-component/FieldBlock/) label. It will be displayed when the `onSubmitAsync` event is used on the [Form.Handler](/uilib/extensions/forms/extended-features/Form/Handler/) component. You can find some examples down below.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export const AsyncStepsLayout = () => {
label="Required field with async validator"
validator={validator1}
path="/field1"
required
/>
<Field.String
label="Field with async validator"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { PropertiesTableProps } from '../../../../shared/types'

export const SubmitIndicatorProperties: PropertiesTableProps = {
state: {
doc: 'Provide `pending` to make the dots visible and `success` when to show the checkmark icon.',
doc: 'Provide `pending` to make the dots visible and `success` to show the checkmark icon.',
type: 'string',
status: 'required',
},
Expand Down

0 comments on commit ae7860e

Please sign in to comment.