I am developing laravel application and submit some form data using form.blade.php file
<select name="status" id="status">
<option value="">Choose a status</option>
<option value="Upcoming">Upcoming</option>
<option value="Active">Active</option>
<option value="Completed">Completed</option>
</select>
@if ($errors->has('status'))
<span class="help-block"></span>
@endif
and now I need edit this data using edit form and this is My edit form and grab values from table,
<select name="assign" id="status">
<option value="{!! $task->assign !!}">{!! $task->assign !!}</option>
</select>
@if ($errors->has('assign'))
<span class="help-block"></span>
@endif
this is working but unable to select other optional values in the edit form optional values input. how can I fix this problem?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire