Skip to content

Commit

Permalink
fix(doc): remove duplicate key on textarea story
Browse files Browse the repository at this point in the history
  • Loading branch information
dpellier committed Nov 28, 2024
1 parent 7644779 commit 55d1d0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from '@storybook/web-components';
import { ODS_PHONE_NUMBER_COUNTRY_ISO_CODES, ODS_PHONE_NUMBER_LOCALES } from '@ovhcloud/ods-components';
import { html } from 'lit-html';
import { html, nothing } from 'lit-html';
import { CONTROL_CATEGORY } from '../../../src/constants/controls';
import { orderControls } from '../../../src/helpers/controls';

Expand Down Expand Up @@ -46,7 +46,7 @@ export const Demo: StoryObj = {
is-required="${arg.isRequired}"
iso-code="${arg.isoCode}"
locale="${arg.locale}"
pattern="${arg.pattern}">
pattern="${arg.pattern || nothing}">
</ods-phone-number>
${ arg.validityState ? validityStateTemplate : '' }
<style>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,6 @@ export const Demo: StoryObj = {
},
control: 'boolean',
},
isResizable: {
table: {
category: CONTROL_CATEGORY.general,
defaultValue: { summary: false },
type: { summary: 'boolean' },
},
control: 'boolean',
},
placeholder: {
table: {
category: CONTROL_CATEGORY.general,
Expand Down

0 comments on commit 55d1d0c

Please sign in to comment.