Hide immutable type field in value source edit modal
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -63,7 +63,7 @@ export async function showValueSourceModal(editData) {
|
||||
document.getElementById('value-source-error').style.display = 'none';
|
||||
|
||||
const typeSelect = document.getElementById('value-source-type');
|
||||
typeSelect.disabled = isEdit;
|
||||
document.getElementById('value-source-type-group').style.display = isEdit ? 'none' : '';
|
||||
|
||||
if (isEdit) {
|
||||
document.getElementById('value-source-name').value = editData.name || '';
|
||||
|
||||
Reference in New Issue
Block a user