react-native-reusables
react-native-reusables copied to clipboard
[ FEATURE ] Need Form component
I don't understand this issue, isn't there already form stuff? I can see it in the docs and in the showcase
@RWOverdijk where?
https://rnr-showcase.vercel.app/form
@RWOverdijk Its a deprecated component
What do you mean? Form itself doesn't have a component. All the fields and such are in there (input, checkbox, radio). Forms don't have styles so I don't think I understand what you are looking for 😄
Solved : import { ScrollView } from "react-native";
import { ScrollView } from "react-native-gesture-handler";
Help, scroll not working
from Form.tsx
const emails = [
{ value: '[email protected]', label: '[email protected]' },
{ value: '[email protected]', label: '[email protected]' },
{ value: '[email protected]', label: '[email protected]' },
{ value: '[email protected]', label: '[email protected]' },
{ value: '[email protected]', label: '[email protected]' },
{ value: '[email protected]', label: '[email protected]' },
{ value: '[email protected]', label: '[email protected]' },
{ value: '[email protected]', label: '[email protected]' },
... 50+ more
];
</SelectTrigger>
<SelectContent insets={contentInsets} style={{ width: selectTriggerWidth }}>
<SelectGroup>
// Not scrolling
<ScrollView ref={emailScrollRef}>
{emails.map((email) => (
<SelectItem key={email.value} label={email.label} value={email.value}>
<Text>{email.label}</Text>
</SelectItem>
))}
</ScrollView>
</SelectGroup>
</SelectContent>
</FormSelect>
)}
/>
without ScrollView :
What do you mean? Form itself doesn't have a component. All the fields and such are in there (input, checkbox, radio). Forms don't have styles so I don't think I understand what you are looking for 😄
@RWOverdijk form component with these features https://ui.shadcn.com/docs/components/form#features
@useEffects Ah I see, right. I made my own, I don't use react-hook-form. But maybe there's a way to come up with something more generic.
@RWOverdijk I am trying to make use of https://github.com/vantezzen/auto-form I only need form and calendar component now, thats the whole point of these 2 features requests :)
Hi @useEffects
Due to a recent scope update this feature request is no longer within our current focus. See https://github.com/mrzachnugent/react-native-reusables/discussions/229, for more details.
Thanks for understanding!