gpt-3.5-turbo-0613· OpenAI
WildChat-4.8M (AI2)
<div class="field col-6"> <label for="location" class="font-bold">Location</label>…
- User
how to add formcontrolname and input hidden with value of formObservationFilename to
- Assistant
To add
formControlNameand an input hidden field with the value offormObservationFilenameto the specified<div>, you can modify the HTML code as follows:<div class="field col-12"> <label class="font-bold">File</label> <div style="font-size: smaller;" [innerHTML]="formObervationFileUrl"></div> <input type="hidden" formControlName="filename" [value]="formObservationFilename"> </div>This will add an input hidden field with the
formControlNameattribute set to "filename" and thevalueattribute bound toformObservationFilenamevariable.