From 2c769c309e4eef29337f271c6eef356c319e6992 Mon Sep 17 00:00:00 2001 From: dklimpel <5740567+dklimpel@users.noreply.github.com> Date: Mon, 5 Feb 2024 22:14:54 +0100 Subject: [PATCH] Move Toolbar's alwaysEnableSaveButton into SaveButton https: //marmelab.com/react-admin/Upgrade.html#toolbars-alwaysenablesavebutton-prop-has-been-removed Change-Id: I6c8693d4f55bfabdeaa677bd294d8663b7f14d69 --- src/components/RegistrationTokens.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/RegistrationTokens.js b/src/components/RegistrationTokens.js index 483d1d8..978835c 100644 --- a/src/components/RegistrationTokens.js +++ b/src/components/RegistrationTokens.js @@ -12,6 +12,7 @@ import { NumberField, NumberInput, regex, + SaveButton, SimpleForm, TextInput, TextField, @@ -80,7 +81,15 @@ export const RegistrationTokenList = props => ( export const RegistrationTokenCreate = props => ( - }> + + {/* It is possible to create tokens per default without input. */} + + + } + >