Give builder fields persistent labels, treat description as optional, and validate save-progress email with a real form.
Name stays required; description is a labelled optional textarea. Email uses native validity and form submit. Drop the dead workshop link and fix a few copy errors. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -11,5 +11,28 @@ export const Default = {
|
||||
messageNamespace: "create.community.communityName",
|
||||
stateField: "title",
|
||||
maxLength: 48,
|
||||
required: true,
|
||||
},
|
||||
};
|
||||
|
||||
export const CommunityDescription = {
|
||||
args: {
|
||||
messageNamespace: "create.community.communityContext",
|
||||
stateField: "communityContext",
|
||||
maxLength: 200,
|
||||
mainAlign: "center",
|
||||
multiline: true,
|
||||
},
|
||||
};
|
||||
|
||||
export const CommunitySave = {
|
||||
args: {
|
||||
messageNamespace: "create.community.communitySave",
|
||||
stateField: "communitySaveEmail",
|
||||
maxLength: 254,
|
||||
mainAlign: "center",
|
||||
inputType: "email",
|
||||
showCharacterCount: false,
|
||||
headerJustification: "center",
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user