Skip to content

Commit

Permalink
22-10282 'state' request field passed as abbreviation (#33381)
Browse files Browse the repository at this point in the history
Co-authored-by: Liz Wendling <[email protected]>
  • Loading branch information
mghisilieri and GovCIOLiz authored Dec 9, 2024
1 parent 705294a commit 0307061
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ export const uiSchema = {
},
}),
};

export const schema = {
type: 'object',
required: ['state'],
properties: {
state: {
...state,
enum: constants.states.USA.map(st => st.label),
enum: constants.states.USA.map(st => st.value),
enumNames: constants.states.USA.map(st => st.label),
},
},
};

0 comments on commit 0307061

Please sign in to comment.