validate against whitelist
This block is part of the value
group and was last modified in core v14.0.3
.
validate against whitelist
v14.0.3
Validates input against a whitelist of safe values, returning the input if safe or a fallback if not
Pin | Pin | Type | Default |
---|---|---|---|
valuerequired Value to be validated |
value |
|
|
allowed valuesrequired Array of allowed values for exact matching |
array |
|
|
fallback Fallback value in-case no safe values found |
value |
First value from allowed values array |
Pin | Pin | Type | Example |
---|---|---|---|
value Returns a guaranteed-safe value |
value |
Core Releases
v14.0.3 This block was introduced inv14.0.3
, click here to see the release notes.
Back to
value
Return to the main group to view all sub-groups
Back to value
Return to the group to view all blocks within this group