2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-30 22:05:21 +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

View File

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