Skip to content

Commit

Permalink
Merge pull request #7 from armandoalonso/main
Browse files Browse the repository at this point in the history
Add autocompleteId to Ace Params
  • Loading branch information
skymen authored Jan 20, 2025
2 parents 9f6d897 + 10bff2b commit 1548280
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/schemas.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ const paramSchema = Joi.object({
"animation",
"objinstancevar"
),
autocompleteId: Joi.string().when('type', {
is: "string",
then: Joi.string().optional(),
otherwise: Joi.forbidden()
}),
})
.when(Joi.object({ type: Joi.string().valid("combo") }).unknown(), {
then: Joi.object({
Expand Down

0 comments on commit 1548280

Please sign in to comment.