Closed SpringSan closed 1 year ago
@SpringSan Can you tell me which version you're using? Is it the latest?
"react": "18.1.0", "react-native": "0.70.2", "@superforms/superforms-rn": "^1.1.0",
@SpringSan will look into the issue as soon as I find some time, a quick thing you can try is to use the editable={false}
on the <FormField editable={false}/>
component and see if that helps.
Also it seems try to have disabled={false}
and see if that works, I mapped the disabled directly to the <TextInput/>
component so by default disabled={true}
means that field is editable while disabled={false}
means that it's not, it's a logical issue, thanks for pointing it out will fix this in the upcoming versions.
Let me know if this works.
🤝
Describe the bug I follow the example. The prop disabled is true. But I can input in this field.
To Reproduce
<FormField name="fullName" label="Full Name" disabled={true} />
Expected behaviorScreenshots
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.