Skip to content

Commit c962f21

Browse files
fix: Fix hasForm type (#6290)
1 parent 1665395 commit c962f21

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

templates/primary-secondary/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ If either of the panels contain an `iframe`, resizing may not work properly. Thi
5353
| Property | Type | Description |
5454
|---|---|---|
5555
| `background-shading` | String, default: `'none'` | Controls whether the primary and secondary panels have shaded backgrounds. Can be one of `'primary'`, `'secondary'`, `'none'`. |
56+
| `has-form` | Boolean, default: `false` | Whether to render an encompassing form over all panels |
5657
| `primary-overflow` | String, default: `'default'` | Controls how the primary panel's contents overflow. Can be one of `'default'`, `'hidden'`. |
5758
| `resizable` | Boolean, default: `false` | Whether the panels are user resizable. This only applies to desktop users, mobile users will always be able to resize. |
5859
| `secondary-first` | Boolean, default: `false` | When set to true, the secondary panel will be displayed on the left (or the right in RTL) in the desktop view. This attribute has no effect on the mobile view. |

templates/primary-secondary/primary-secondary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ class TemplatePrimarySecondary extends LocalizeCoreElement(LitElement) {
594594
widthType: { type: String, attribute: 'width-type', reflect: true },
595595
/**
596596
* Whether to render an encompassing form over all panels
597-
* @type { Boolean }
597+
* @type {boolean}
598598
*/
599599
hasForm: { type: Boolean, attribute: 'has-form' },
600600
_formErrorSummary: { type: Array },

0 commit comments

Comments
 (0)