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
144.9k
Fill Textbox automatically from typing into another textbox
Feb 12 2019 12:30 AM
Hi, I am working in Angular.
I have two text box 1. is Email and 2. is Username
I want to fill textbox username from email. because it has same value. textbox username is disabled. so how can I fill same value from email.
Email :
<
input
type
=
"text"
required email #
email
=
"ngModel"
name
=
"email"
class
=
"form-control"
[(ngModel)]="userModel.email"
placeholder
=
"Email"
/>
User Name :
<
input
type
=
"text"
required #
userName
=
"ngModel"
name
=
"userName"
class
=
"form-control"
[(ngModel)]="userModel.userName"
placeholder
=
"User Name"
disabled
/>
Reply
Answers (
1
)
What is way to create project hierarchy for angular&webapi
How to optimize below line of code