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 fafbc21 commit 45b6f29Copy full SHA for 45b6f29
examples/basic/index.ts
@@ -15,8 +15,7 @@ async function main() {
15
p.text({
16
message: 'Where should we create your project?',
17
placeholder: './sparkling-solid',
18
- validate: async (value) => {
19
- await setTimeout(299);
+ validate: (value) => {
20
if (!value) return 'Please enter a path.';
21
if (value[0] !== '.') return 'Please enter a relative path.';
22
},
0 commit comments