2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-30 13:58:15 +00:00

Merge pull request #1262 from Aravindh-Raju/aravindhr/fix-zone-record-fields-bugs

Fix bugs in Zone view record fields
This commit is contained in:
Nicholas Spadaccino 2023-06-05 12:47:15 -04:00 committed by GitHub
commit 15bb24f444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@
<modal-element ng-if="currentRecord.type == 'PTR'"
label="FQDN (one per line)"
invalid-when="addRecordForm.$submitted && addRecordForm.ptrRecordData.$invalid">
<textarea name="recordData"
<textarea name="ptrRecordData"
ng-model="currentRecord.ptrRecordData"
rows="5"
class="form-control"
@ -116,6 +116,7 @@
ng-class="recordModal.basics.class"
ng-options="item.number as item.name for item in dsAlgorithms"
ng-readonly="recordModal.details.readOnly"
ng-disabled="recordModal.details.readOnly"
required>
</select>
</td>
@ -126,6 +127,7 @@
ng-class="recordModal.basics.class"
ng-options="item.number as item.name for item in dsDigestTypes"
ng-readonly="recordModal.details.readOnly"
ng-disabled="recordModal.details.readOnly"
required>
</select>
</td>
@ -338,6 +340,8 @@
ng-model="item.flags"
ng-class="recordModal.details.class"
ng-options="flag for flag in naptrFlags"
ng-readonly="recordModal.details.readOnly"
ng-disabled="recordModal.details.readOnly"
required>
</select>
</td>
@ -394,6 +398,8 @@
ng-model="item.algorithm"
ng-class="recordModal.basics.class"
ng-options="item.number as item.name for item in sshfpAlgorithms"
ng-readonly="recordModal.details.readOnly"
ng-disabled="recordModal.details.readOnly"
required>
</select>
</td>
@ -403,6 +409,8 @@
ng-model="item.type"
ng-class="recordModal.basics.class"
ng-options="item.number as item.name for item in sshfpTypes"
ng-readonly="recordModal.details.readOnly"
ng-disabled="recordModal.details.readOnly"
required>
</select>
</td>