Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
chore(toggle): run lint
  • Loading branch information
thetaPC committed Mar 10, 2025
commit 74feb87a31acc3521d50f92e476b196644d0aa6c
14 changes: 3 additions & 11 deletions static/usage/v8/toggle/helper-error/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,14 @@
<title>Input</title>
<link rel="stylesheet" href="../../common.css" />
<script src="../../common.js"></script>
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@ionic/core@8/dist/ionic/ionic.esm.js"
></script>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@ionic/core@8/css/ionic.bundle.css"
/>
<script type="module" src="https://cdn.jsdelivr.net/npm/@ionic/core@8/dist/ionic/ionic.esm.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ionic/core@8/css/ionic.bundle.css" />
</head>

<body>
<div class="container">
<form id="my-form">
<ion-toggle helper-text="This needs to be enabled" error-text="This field is required">
Wi-Fi
</ion-toggle>
<ion-toggle helper-text="This needs to be enabled" error-text="This field is required"> Wi-Fi </ion-toggle>

<br />

Expand Down
4 changes: 1 addition & 3 deletions static/usage/v8/toggle/helper-error/javascript.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
```html
<form id="my-form">
<ion-toggle helper-text="This needs to be enabled" error-text="This field is required">
Wi-Fi
</ion-toggle>
<ion-toggle helper-text="This needs to be enabled" error-text="This field is required"> Wi-Fi </ion-toggle>

<br />

Expand Down