Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sn02_danci
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
sn02_danci
Commits
9ebc7e3d
Commit
9ebc7e3d
authored
Oct 29, 2023
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加限制单字母输入
parent
c523bfdc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
form.component.html
form/src/app/form/form.component.html
+1
-1
No files found.
form/src/app/form/form.component.html
View file @
9ebc7e3d
...
@@ -222,7 +222,7 @@
...
@@ -222,7 +222,7 @@
<label nz-checkbox [(ngModel)]="option.right"
<label nz-checkbox [(ngModel)]="option.right"
[style]="{color: option.right ?'#fff':'#000'}">正确答案</label>
[style]="{color: option.right ?'#fff':'#000'}">正确答案</label>
</div> -->
</div> -->
字母:
<input
type=
"text"
[(
ngModel
)]="
letterList
.
text
"
(
ngModelChange
)="
save
()"
>
字母:
<input
type=
"text"
maxlength=
"1"
[(
ngModel
)]="
letterList
.
text
"
(
ngModelChange
)="
save
()"
>
</div>
</div>
<div
class=
"letterList-btns"
>
<div
class=
"letterList-btns"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment