Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit f58d4cf

Browse files
dunglasAlexis Lefebvre
authored andcommitted
Merge pull request api-platform#592 from Federkun/react-admin-correct-wrong-example
RichTextInput is not part of react-admin.
2 parents 7dea0a0 + a52e472 commit f58d4cf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

admin/getting-started.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ Example to add a minLength validator on the `description` field:
198198

199199
```javascript
200200
import React, { Component } from 'react';
201-
import { minLength, RichTextInput } from 'react-admin';
201+
import { minLength } from 'react-admin';
202+
import RichTextInput from 'ra-input-rich-text';
202203
import { AdminBuilder, hydraClient } from '@api-platform-admin';
203204
import parseHydraDocumentation from '@api-platform/api-doc-parser/lib/hydra/parseHydraDocumentation';
204205

core/serialization.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ namespace App\Serializer;
450450
451451
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
452452
use Symfony\Component\Serializer\Normalizer\ContextAwareNormalizerInterface;
453+
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
453454
use Symfony\Component\Serializer\SerializerAwareInterface;
454455
use Symfony\Component\Serializer\SerializerAwareTrait;
455456

0 commit comments

Comments
 (0)