mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-13 13:08:47 +08:00
refactor(radio-group, angular): remove issues
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<html lang="en" dir="ltr">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Radrio Group - Validation</title>
|
||||
<title>Radio Group - Validation</title>
|
||||
<meta
|
||||
name="viewport"
|
||||
content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
||||
|
||||
@@ -152,19 +152,6 @@
|
||||
</ion-item>
|
||||
|
||||
<!-- Test ion-radio-group with required validation -->
|
||||
<ion-item>
|
||||
<ion-checkbox
|
||||
[(ngModel)]="checkboxValue"
|
||||
name="checkboxField"
|
||||
required
|
||||
#checkboxField="ngModel"
|
||||
id="template-checkbox-test"
|
||||
helper-text="You must agree to continue"
|
||||
error-text="Please accept the terms and conditions"
|
||||
>
|
||||
I agree to the terms and conditions
|
||||
</ion-checkbox>
|
||||
|
||||
<ion-radio-group
|
||||
[(ngModel)]="radioGroupValue"
|
||||
name="radioGroupField"
|
||||
|
||||
Reference in New Issue
Block a user