We could use the legacy option, but this will also be removed in future version of Ionic:
Developers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.
Describe the housekeeping request
We are currently using
ion-checkbox
in a deprecated way regarding labels in Checkbox used in a listRefactor
Checkbox used in a list
example to useion-checkbox
with a label in it's default slot.Read more: https://ionicframework.com/docs/api/checkbox#migrating-from-legacy-checkbox-syntax
Have you considered any alternatives?
We could use the
legacy
option, but this will also be removed in future version of Ionic:Are there any additional context?
No.