mirror of
https://github.com/AtHeartEngineering/bandada.git
synced 2026-01-10 13:18:33 -05:00
Merge pull request #408 from code-Gambler/dev
Added Min Property to `Fingerprint Duration` input field
This commit is contained in:
@@ -164,6 +164,7 @@ export default function GeneralInfoStep({
|
||||
<Text>Fingerprint duration</Text>
|
||||
|
||||
<NumberInput
|
||||
min={0}
|
||||
size="lg"
|
||||
value={_fingerprintDuration}
|
||||
onChange={(value) =>
|
||||
@@ -206,7 +207,8 @@ export default function GeneralInfoStep({
|
||||
_fingerprintDuration === undefined) ||
|
||||
(group.type === "off-chain" && !_groupDescription) ||
|
||||
(group.type === "off-chain" &&
|
||||
_groupDescription.length < 10)
|
||||
_groupDescription.length < 10) ||
|
||||
_fingerprintDuration < 0
|
||||
}
|
||||
variant="solid"
|
||||
colorScheme="primary"
|
||||
|
||||
Reference in New Issue
Block a user