mirror of
https://github.com/strapi/strapi.git
synced 2025-09-15 11:36:17 +00:00
Docs: Update GenericInput storybook documentation
This commit is contained in:
parent
c0005c6915
commit
2fcf7d8603
@ -28,6 +28,9 @@ Description...
|
||||
firstname: 'ee',
|
||||
email: '',
|
||||
private: null,
|
||||
isNullable: null,
|
||||
isActiveByDefault: true,
|
||||
isInactiveByDefault: false
|
||||
});
|
||||
return (
|
||||
<ContentLayout>
|
||||
|
@ -69,15 +69,43 @@ const layout = [
|
||||
{
|
||||
intlLabel: {
|
||||
id: 'Auth.form.active.label',
|
||||
defaultMessage: 'Active',
|
||||
defaultMessage: 'Boolean: Nullable',
|
||||
},
|
||||
name: 'isActive',
|
||||
isNullable: true,
|
||||
name: 'isNullable',
|
||||
type: 'bool',
|
||||
size: {
|
||||
col: 6,
|
||||
col: 2,
|
||||
xs: 12,
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
intlLabel: {
|
||||
id: 'Auth.form.active.label',
|
||||
defaultMessage: 'Boolean: Active by default',
|
||||
},
|
||||
name: 'isActiveByDefault',
|
||||
type: 'bool',
|
||||
size: {
|
||||
col: 2,
|
||||
xs: 12,
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
intlLabel: {
|
||||
id: 'Auth.form.inactive.label',
|
||||
defaultMessage: 'Boolean: Inactive by default',
|
||||
},
|
||||
name: 'isInactiveByDefault',
|
||||
type: 'bool',
|
||||
size: {
|
||||
col: 2,
|
||||
xs: 12,
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
name: 'private',
|
||||
type: 'checkbox',
|
||||
@ -93,7 +121,6 @@ const layout = [
|
||||
id: 'form.attribute.item.privateField.description',
|
||||
defaultMessage: 'This field will not show up in the API response',
|
||||
},
|
||||
// validations: {},
|
||||
},
|
||||
{
|
||||
intlLabel: { id: 'meal', defaultMessage: 'meal' },
|
||||
|
Loading…
x
Reference in New Issue
Block a user