clockpicker icon indicating copy to clipboard operation
clockpicker copied to clipboard

ng-model does not work in

Open usman250994 opened this issue 8 years ago • 1 comments

When trying to get value of input time at form submission, ng-model is showing undefined. Can anyone tell me where to place ng-model. to get value at form submit Below is my work.

//one field of my form

<div class="clearfix">
			<div class="input-group clockpicker pull-center" data-placement="left" data-align="top" data-autoclose="true">
				<input type="text" class="form-control" ng-model="shift.eTime">
				<span class="input-group-addon">
					<span class="glyphicon glyphicon-time"></span>
				</span>
			</div>
		</div>

usman250994 avatar Jun 11 '17 11:06 usman250994

You may try to use it on the input element alone without the input-group.

omitobi avatar Jun 15 '17 07:06 omitobi