[UI] Fix for parameter form (#11875)

- Ensure string field is properly selected
This commit is contained in:
Oliver 2026-05-05 19:31:59 +10:00 committed by GitHub
parent 6f1d40d546
commit aae97eeb40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -216,6 +216,9 @@ export function useParameterFields({
}
} else if (record?.selectionlist) {
setFieldType('related field');
} else {
// Default to a simple string field
setFieldType('string');
}
},
addCreateFields: user.isStaff() ? templateCreateFields : undefined