Skip to content

Commit

Permalink
feat: scopes Form is broken -- missing most important field (id) #305
Browse files Browse the repository at this point in the history
  • Loading branch information
duttarnab committed Jul 19, 2022
1 parent a108965 commit 44e3c52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin-ui/plugins/auth-server/components/Scopes/ScopeForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ function ScopeForm({ scope, scripts, attributes, handleSubmit }) {
displayName: Yup.string()
.min(2, 'displayName 2 characters')
.required('Required!'),
id: Yup.string()
.min(2, 'id 2 characters')
.required('Required!'),
})}
onSubmit={(values) => {
const result = Object.assign(scope, values)
Expand Down

0 comments on commit 44e3c52

Please sign in to comment.