Skip to content

Commit 6f7fd11

Browse files
Fix dead link for definitely not compliant enumNames property (rjsf-team#1752)
* Fix dead link for definitely not compliant `enumNames` property * Update single.md Co-authored-by: Ashwin Ramaswami <[email protected]>
1 parent 45743f2 commit 6f7fd11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/usage/single.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ render((
5757

5858
### Custom labels for `enum` fields
5959

60-
This library supports the [`enumNames`](https://github.com/json-schema/json-schema/wiki/enumNames-%28v5-proposal%29) property for `enum` fields, which allows defining custom labels for each option of an `enum`:
60+
This library supports a custom [`enumNames`](https://github.com/rjsf-team/react-jsonschema-form/issues/57) property for `enum` fields, which, however is not JSON-Schema compliant (see below for a compliant approach). The `enumNames` property allows defining custom labels for each option of an `enum`:
6161

6262
```jsx
6363
const schema = {
@@ -140,4 +140,4 @@ const schema = {
140140
render((
141141
<Form schema={schema} />
142142
), document.getElementById("app"));
143-
```
143+
```

0 commit comments

Comments
 (0)