diff --git a/.changeset/famous-forks-carry.md b/.changeset/famous-forks-carry.md index 0c165a37ca..0362d463cd 100644 --- a/.changeset/famous-forks-carry.md +++ b/.changeset/famous-forks-carry.md @@ -2,4 +2,4 @@ '@backstage/plugin-scaffolder': patch --- -Add allowArbitraryValues for to provide input validation +Add allowArbitraryValues for to provide input validation. This makes it a better experience of users, as they can now expect the values they enter to correspond to a valid owner. This is set to the default behavior by default. diff --git a/plugins/scaffolder/src/components/fields/OwnerPicker/OwnerPicker.tsx b/plugins/scaffolder/src/components/fields/OwnerPicker/OwnerPicker.tsx index 4d9db1f5e5..10425c17ff 100644 --- a/plugins/scaffolder/src/components/fields/OwnerPicker/OwnerPicker.tsx +++ b/plugins/scaffolder/src/components/fields/OwnerPicker/OwnerPicker.tsx @@ -52,7 +52,7 @@ export const OwnerPicker = ( ]) as string[], defaultKind: 'Group', allowArbitraryValues: - uiSchema['ui:options']?.allowArbitraryValues || true, + uiSchema['ui:options']?.allowArbitraryValues ?? true, }, };