sailpoint-oss / api-specs

This repo houses the API specifications for all SailPoint services.
MIT License
10 stars 17 forks source link

FormElementValidation is referenced int he SDK in comments, but is not present #42

Open drosenbauer opened 11 months ago

drosenbauer commented 11 months ago
    /**
     * FormElementValidationsSet is a set of FormElementValidation items
     * @type {object}
     * @memberof FormElementBeta
     */
    'validations'?: object;

In schema type FormElementBeta. I would very much like to see what the options are!

tyler-mairose-sp commented 10 months ago

Hello @drosenbauer! Good question

I see the following options when I look at the code:

"REQUIRED"
"MIN_LENGTH"
"MAX_LENGTH"
"REGEX"
"DATE"
"MAX_DATE"
"MIN_DATE"
"LESS_THAN_DATE"
"PHONE"
"EMAIL"
"DATA_SOURCE"
"TEXTAREA"

With that being said, I am not sure if they have been implemented quite yet. I couldn't find out how to set anything via the UI. I am going to talk to our engineering team and see how these can be used!