mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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.
This commit is contained in:
committed by
Jeremy Elbourn
parent
35e89e5344
commit
e1d00242bf
@@ -33,7 +33,7 @@ on `CdkStep` in a `linear` stepper.
|
||||
|
||||
#### Editable step
|
||||
By default, steps are editable, which means users can return to previously completed steps and
|
||||
edit their responses. `editable="true"` can be set on `CdkStep` to change the default.
|
||||
edit their responses. `editable="false"` can be set on `CdkStep` to change the default.
|
||||
|
||||
#### Completed step
|
||||
By default, the `completed` attribute of a step returns `true` if the step is valid (in case of
|
||||
|
||||
@@ -127,7 +127,7 @@ on `mat-step`.
|
||||
|
||||
#### Editable step
|
||||
By default, steps are editable, which means users can return to previously completed steps and
|
||||
edit their responses. `editable="true"` can be set on `mat-step` to change the default.
|
||||
edit their responses. `editable="false"` can be set on `mat-step` to change the default.
|
||||
|
||||
<!-- example(stepper-editable) -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user