-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4118eb2
commit 7b941d8
Showing
15 changed files
with
192 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...s/packages/forms/src/blocks/contact-form/components/jetpack-field-choice/item/settings.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export default { | ||
apiVersion: 3, | ||
category: 'contact-form', | ||
attributes: { | ||
label: { | ||
type: 'string', | ||
}, | ||
fieldType: { | ||
enum: [ 'checkbox', 'radio' ], | ||
default: 'checkbox', | ||
}, | ||
}, | ||
supports: { | ||
reusable: false, | ||
html: false, | ||
splitting: true, | ||
}, | ||
}; |
6 changes: 6 additions & 0 deletions
6
projects/packages/forms/src/blocks/contact-form/components/jetpack-field-choice/settings.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export default { | ||
styles: [ | ||
{ name: 'list', label: 'List', isDefault: true }, | ||
{ name: 'button', label: 'Button' }, | ||
], | ||
}; |
Oops, something went wrong.