This is my angular combobox
<select ui-select2 id="UserID" name="UserID" ng-model="userObjs.UserID" data-placeholder="UserID" required style="width: 100%;">
<option value="">Select Agent</option>
<option ng-repeat="(key, userObj) in userObjs" ng-value="userObj.id" value="@" >@
</option>
</select>
while submitting this form to laravel controller
$UserID= $request->UserID;
it showing number:33 , but actual User Id is 33, how to get only integer by avoing number: to the variable $UserID
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2u2yOt9
via IFTTT
Aucun commentaire:
Enregistrer un commentaire