="form-field">
       <label for="type">Type</label>
       <select id="type" name="type" default="A" type="text"
               required>
         <option v-for="option in getOptions()" :value="option">{{option}}</option>
       </select>
     </div>

     <div class="form-field" v-for="field, i in schemas[form_data.type]">
       <label for="content_{{i}}" class="block">{{field.label}}</label>
       <input id="content_{{i}}" type="text" :required="!field.optional"
              @invalid="(e) => e.target.