⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
disable autocapitalization for some fields
daniel31x13eac9e43db7d8
diff --git a/apps/mobile/components/ActionSheets/AddLinkSheet.tsx b/apps/mobile/components/ActionSheets/AddLinkSheet.tsxindex a51d03ef..34ffcec1 100644--- a/apps/mobile/components/ActionSheets/AddLinkSheet.tsx+++ b/apps/mobile/components/ActionSheets/AddLinkSheet.tsx@@ -45,6 +45,7 @@ export default function AddLinkSheet() {<Inputplaceholder="e.g. https://example.com"className="mb-4 bg-base-100"+ autoCapitalize="none"value={link}onChangeText={setLink}/>diff --git a/apps/mobile/components/ActionSheets/EditLinkSheet.tsx b/apps/mobile/components/ActionSheets/EditLinkSheet.tsxindex 3f736258..d12bfcfa 100644--- a/apps/mobile/components/ActionSheets/EditLinkSheet.tsx+++ b/apps/mobile/components/ActionSheets/EditLinkSheet.tsx@@ -76,6 +76,7 @@ const Main = (props: SheetProps<"edit-link-sheet">) => {{props.payload?.link?.url && (<Inputplaceholder="URL"+ autoCapitalize="none"className="mb-4 bg-base-100"value={link?.url || ""}onChangeText={(text) => link?.id && setLink({ ...link, url: text })}diff --git a/apps/mobile/components/ActionSheets/LoginSheet.tsx b/apps/mobile/components/ActionSheets/LoginSheet.tsxindex 7d8924ca..5553cdaa 100644--- a/apps/mobile/components/ActionSheets/LoginSheet.tsx+++ b/apps/mobile/components/ActionSheets/LoginSheet.tsx@@ -61,7 +61,12 @@ export default function LoginSheet() {if (!instance || (!form.token && (!form.user || !form.password))) return;setIsLoading(true);- const success = await signIn(form.user, form.password, instance, form.token);+ const success = await signIn(+ form.user,+ form.password,+ instance,+ form.token+ );setIsLoading(false);if (success) closeSheet();@@ -100,12 +105,14 @@ export default function LoginSheet() {textAlignVertical="center"placeholder="Email or Username"value={form.user}+ autoCapitalize="none"onChangeText={(text) => setForm({ ...form, user: text })}/><InputclassName="w-full text-xl p-3 leading-tight h-12"textAlignVertical="center"placeholder="Password"+ autoCapitalize="none"secureTextEntryvalue={form.password}onChangeText={(text) => setForm({ ...form, password: text })}@@ -116,6 +123,7 @@ export default function LoginSheet() {className="w-full text-xl p-3 leading-tight h-12"textAlignVertical="center"placeholder="Access Token"+ autoCapitalize="none"secureTextEntryvalue={form.token}onChangeText={(text) => setForm({ ...form, token: text })}diff --git a/apps/mobile/components/ActionSheets/SignUpSheet.tsx b/apps/mobile/components/ActionSheets/SignUpSheet.tsxindex d5f31990..e5f09ac1 100644--- a/apps/mobile/components/ActionSheets/SignUpSheet.tsx+++ b/apps/mobile/components/ActionSheets/SignUpSheet.tsx@@ -231,6 +231,7 @@ export default function SignUpSheet() {textAlignVertical="center"placeholder="Password"secureTextEntry+ autoCapitalize="none"value={form.password}onChangeText={(text) => setForm({ ...form, password: text })}/>@@ -239,6 +240,7 @@ export default function SignUpSheet() {textAlignVertical="center"placeholder="Confirm Password"secureTextEntry+ autoCapitalize="none"value={form.passwordConfirmation}onChangeText={(text) =>setForm({ ...form, passwordConfirmation: text })