Skip to content

Commit e1d0024

Browse files
cbejensenjelbourn
authored andcommitted
docs(stepper): update non-default boolean for editable prop (#15161)
Previously, the docs said editable can be set to true, but that is the default, so it makes more sense to say they can be set to false to change the default behavior.
1 parent 35e89e5 commit e1d0024

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cdk/stepper/stepper.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ on `CdkStep` in a `linear` stepper.
3333

3434
#### Editable step
3535
By default, steps are editable, which means users can return to previously completed steps and
36-
edit their responses. `editable="true"` can be set on `CdkStep` to change the default.
36+
edit their responses. `editable="false"` can be set on `CdkStep` to change the default.
3737

3838
#### Completed step
3939
By default, the `completed` attribute of a step returns `true` if the step is valid (in case of

src/lib/stepper/stepper.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ on `mat-step`.
127127

128128
#### Editable step
129129
By default, steps are editable, which means users can return to previously completed steps and
130-
edit their responses. `editable="true"` can be set on `mat-step` to change the default.
130+
edit their responses. `editable="false"` can be set on `mat-step` to change the default.
131131

132132
<!-- example(stepper-editable) -->
133133

0 commit comments

Comments
 (0)