We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e209607 commit e485b59Copy full SHA for e485b59
src/pages/[platform]/build-ui/formbuilder/validations/index.mdx
@@ -54,7 +54,7 @@ Every form provides an `onValidate` event handler to provide additional validati
54
onValidate={{
55
address: (value, validationResponse) => {
56
const firstWord = value.split('')[0];
57
- if (!isNaN(str)) {
+ if (!isNaN(firstWord)) {
58
// check if the first word is a number
59
return {
60
hasError: true,
0 commit comments