Skip to content

Commit

Permalink
fix: add keyboard submit type
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron committed Sep 6, 2024
1 parent b7bb6df commit f5cafc8
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions pages/receive/Receive.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ export function Receive() {
placeholder="No description"
value={comment}
onChangeText={setComment}
returnKeyType="done"
/>
</View>
</View>
Expand Down
1 change: 1 addition & 0 deletions pages/send/LNURLPay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export function LNURLPay() {
placeholder="Enter an optional comment"
value={comment}
onChangeText={setComment}
returnKeyType="done"
/>
</View>
<View>
Expand Down
1 change: 1 addition & 0 deletions pages/send/Send.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export function Send() {
onChangeText={setKeyboardText}
inputMode="email"
autoFocus
returnKeyType="done"
// aria-errormessage="inputError"
/>
</View>
Expand Down
1 change: 1 addition & 0 deletions pages/settings/FiatCurrency.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export function FiatCurrency() {
placeholder="USD"
value={fiatCurrency}
onChangeText={setFiatCurrency}
returnKeyType="done"
// aria-errormessage="inputError"
/>
</View>
Expand Down
2 changes: 2 additions & 0 deletions pages/settings/address-book/NewAddressBookEntry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export function NewAddressBookEntry() {
value={name}
onChangeText={setName}
aria-labelledbyledBy="name"
returnKeyType="done"
// aria-errormessage="inputError"
/>
<Label
Expand All @@ -49,6 +50,7 @@ export function NewAddressBookEntry() {
placeholder="[email protected]"
onChangeText={setLightningAddress}
aria-labelledbyledBy="lightningAddress"
returnKeyType="done"
// aria-errormessage="inputError"
/>
</View>
Expand Down
1 change: 1 addition & 0 deletions pages/settings/wallets/LightningAddress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export function LightningAddress() {
placeholder="[email protected]"
value={lightningAddress}
onChangeText={setLightningAddress}
returnKeyType="done"
// aria-errormessage="inputError"
/>
</View>
Expand Down
1 change: 1 addition & 0 deletions pages/settings/wallets/NewWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export function NewWallet() {
onChangeText={setName}
aria-labelledbyledBy="name"
placeholder="Enter a name for your wallet"
returnKeyType="done"
// aria-errormessage="inputError"
/>
</View>
Expand Down
1 change: 1 addition & 0 deletions pages/settings/wallets/RenameWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export function RenameWallet() {
placeholder={DEFAULT_WALLET_NAME}
value={walletName}
onChangeText={setWalletName}
returnKeyType="done"
// aria-errormessage="inputError"
/>
</View>
Expand Down

0 comments on commit f5cafc8

Please sign in to comment.