add min values

This commit is contained in:
mfrances 2021-03-02 10:37:51 -05:00
parent de5765ae6f
commit 79a97a0755
3 changed files with 5 additions and 0 deletions

View file

@ -195,6 +195,7 @@ export const LdapSettingsConnection = ({
>
<TextInput
type="number"
min={0}
id="kc-console-connection-timeout"
name="config.connectionTimeout[0]"
ref={form.register}

View file

@ -330,6 +330,7 @@ export const LdapSettingsSearching = ({
>
<TextInput
type="number"
min={0}
id="kc-read-timeout"
name="config.readTimeout[0]"
ref={form.register}

View file

@ -72,6 +72,7 @@ export const LdapSettingsSynchronization = ({
>
<TextInput
type="number"
min={0}
id="kc-batch-size"
name="config.batchSizeForSync[0]"
ref={form.register}
@ -93,6 +94,7 @@ export const LdapSettingsSynchronization = ({
>
<TextInput
type="number"
min={-1}
id="kc-full-sync-period"
name="config.fullSyncPeriod[0]"
ref={form.register}
@ -114,6 +116,7 @@ export const LdapSettingsSynchronization = ({
>
<TextInput
type="number"
min={-1}
id="kc-changed-users-sync-period"
name="config.changedSyncPeriod[0]"
ref={form.register}