Skip to content

Commit 880b6c2

Browse files
authored
Merge pull request #6232 from SleepWalker/patch-1
Fix typo in example of SaveButton.disabled handling
2 parents 70516ac + b1deb12 commit 880b6c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/CreateEdit.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1671,7 +1671,7 @@ import { Edit, SimpleForm, SaveButton, Toolbar } from 'react-admin';
16711671

16721672
const PostEditToolbar = props => (
16731673
<Toolbar {...props} >
1674-
<SaveButton disabled={!props.pristine} />
1674+
<SaveButton disabled={props.pristine} />
16751675
</Toolbar>
16761676
);
16771677

0 commit comments

Comments
 (0)