Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update errorMessage option documentation with falsy value behaviour #1748

Merged
merged 1 commit into from
Feb 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/govuk/components/character-count/character-count.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ params:
- name: errorMessage
type: object
required: false
description: Options for the errorMessage component (e.g. text).
description: Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.
isComponent: true
- name: formGroup
type: object
Expand Down
2 changes: 1 addition & 1 deletion src/govuk/components/checkboxes/checkboxes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ params:
- name: errorMessage
type: object
required: false
description: Options for the errorMessage component (e.g. text).
description: Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.
isComponent: true
- name: formGroup
type: object
Expand Down
2 changes: 1 addition & 1 deletion src/govuk/components/date-input/date-input.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ params:
- name: errorMessage
type: object
required: false
description: Options for the error message.
description: Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.
isComponent: true
- name: formGroup
type: object
Expand Down
2 changes: 1 addition & 1 deletion src/govuk/components/file-upload/file-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ params:
- name: errorMessage
type: object
required: false
description: Options for the errorMessage component.
description: Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.
isComponent: true
- name: formGroup
type: object
Expand Down
2 changes: 1 addition & 1 deletion src/govuk/components/input/input.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ params:
- name: errorMessage
type: object
required: false
description: Options for the errorMessage component.
description: Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.
isComponent: true
- name: formGroup
type: object
Expand Down
2 changes: 1 addition & 1 deletion src/govuk/components/radios/radios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ params:
- name: errorMessage
type: object
required: false
description: Options for the errorMessage component (e.g. text).
description: Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.
isComponent: true
- name: formGroup
type: object
Expand Down
2 changes: 1 addition & 1 deletion src/govuk/components/select/select.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ params:
- name: errorMessage
type: object
required: false
description: Options for the errorMessage component (e.g. text).
description: Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.
isComponent: true
- name: formGroup
type: object
Expand Down
2 changes: 1 addition & 1 deletion src/govuk/components/textarea/textarea.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ params:
- name: errorMessage
type: object
required: false
description: Options for the errorMessage component (e.g. text).
description: Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.
isComponent: true
- name: formGroup
type: object
Expand Down