While updating a record in node js , i am able to render value for text input fields but in the update form the value of radio button and textarea is not coming. Can any one please let me know how to implement it. I am using hbs template.
<div class="form-group row">
<label for="inputPassword3" class="col-sm-5 col-form-label" style="color: #2874a6 ;">Owner Name</label>
<div class="col-sm-6">
<input type="email" class="form-control" name="owner" value={{product.owner}}>
</div>
</div>
<div class="form-group row">
<label for="inputPassword3" class="col-sm-5 col-form-label" style="color: #2874a6 ;">Description</label>
<div class="col-sm-6">
<textarea class="form-control" name="description" rows="2" value={{product.description}}></textarea>
</div>
</div>
<div class="form-group row">
<label for="inputPassword3" class="col-sm-5 col-form-label" style="color: #2874a6 ;">Summary column format</label>
<div class="col-sm-6">
<div class="radio-inline">
<input class="form-check-input" type="radio" name="taskDone" value="Yes" onClick="changeresult();">if({{product.team}}=="Yes"){ %> checked
<%} %>> Yes </input>
</div>
<div class="radio-inline">
<input class="form-check-input" type="radio" name="taskDone" value="No" onClick="changeresult();">if({{product.taskDone}}=="Yes"){ %> checked
<%} %>> Yes </input>
</div>
</div>
</div>
The value for textarea field and radio button is not coming. Thanks for your help in advance