fix all inputs onChange event handler

This commit is contained in:
Hristo Nedelkov 2023-09-25 18:37:47 +03:00
parent 82bdb38be6
commit 46556f71ed
3 changed files with 7 additions and 8 deletions

View File

@ -28,7 +28,7 @@ const BeackonAddress = () => {
<Input <Input
placeholder={''} placeholder={''}
value={inputAdress} value={inputAdress}
onChangeText={() => { }} onChangeText={(e) => { setInputAdress(e) }}
/> />
</YStack> </YStack>
@ -39,7 +39,7 @@ const BeackonAddress = () => {
<Input <Input
placeholder={''} placeholder={''}
value={vcPort} value={vcPort}
onChangeText={() => { }} onChangeText={(e) => { setVcPort(e) }}
/> />
</YStack> </YStack>
<Stack style={{ alignItems: 'center', justifyContent: 'center' }} height={'100%'} width={'10%'}> <Stack style={{ alignItems: 'center', justifyContent: 'center' }} height={'100%'} width={'10%'}>

View File

@ -28,7 +28,7 @@ const ClientAddressRow = () => {
<Input <Input
placeholder={''} placeholder={''}
value={inputAdress} value={inputAdress}
onChangeText={() => { }} onChangeText={(e) => { setInputAdress(e) }}
/> />
</YStack> </YStack>
@ -39,7 +39,7 @@ const ClientAddressRow = () => {
<Input <Input
placeholder={''} placeholder={''}
value={vcPort} value={vcPort}
onChangeText={() => { }} onChangeText={(e) => { setVcPort(e)}}
/> />
</YStack> </YStack>
<Stack style={{ alignItems: 'center', justifyContent: 'center' }} height={'100%'} width={'10%'}> <Stack style={{ alignItems: 'center', justifyContent: 'center' }} height={'100%'} width={'10%'}>

View File

@ -49,7 +49,6 @@ const ConnectExistingInstance = () => {
Advanced Advanced
</Button> </Button>
</XStack> </XStack>
{/* two rows */}
<ClientAddressRow /> <ClientAddressRow />
<BeackonAddress/> <BeackonAddress/>
<Separator borderColor={'#e3e3e3'} /> <Separator borderColor={'#e3e3e3'} />