TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rohan Ramani
NA
786
141.8k
Amount validation pattern in Angular 7
Jun 18 2019 3:36 AM
Hi All,
I have one field for amount. It will take only positive value and greater than 0.
So, I need pattern validation for angular 7.
<input type=
"number"
required #itemAmount=
"ngModel"
name=
"itemAmount"
[
class
.
is
-invalid]=
"itemAmount.invalid && itemAmount.touched"
class
=
"form-control"
[(ngModel)]=
"appModel.itemAmount"
placeholder=
"Approval Limit"
min=
"1"
/>
Reply
Answers (
1
)
how to calculate Total amount in Angular 7
How to Update Server side Date and Time Automatically