Skip to content
2 changes: 1 addition & 1 deletion packages/core/src/prompts/text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class TextPrompt extends Prompt {

this.on('finalize', () => {
if (!this.value) {
this.value = opts.defaultValue;
this.value = opts.defaultValue || opts.placeholder || '';
}
});
}
Expand Down