add number checking

This commit is contained in:
gingervitis
2021-01-03 04:03:18 -08:00
committed by Gabe Kangas
parent c34aba2f5c
commit f385233109
6 changed files with 50 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ export default function ConfigServerDetails() {
layout="vertical"
>
<TextField fieldName="streamKey" type={TEXTFIELD_TYPE_PASSWORD} {...extraProps} />
<TextField fieldName="ffmpegPath" type={TEXTFIELD_TYPE_TEXTAREA} {...extraProps} />
<TextField fieldName="ffmpegPath" {...extraProps} />
<TextField fieldName="webServerPort" type={TEXTFIELD_TYPE_NUMBER} {...extraProps} />
<TextField fieldName="rtmpServerPort" type={TEXTFIELD_TYPE_NUMBER} {...extraProps} />
</Form>