-
I just started to use rsuitejs, and run into an issue. Whilst following the form example and composing something like that: <Panel header={<h3>Login</h3>} bordered shaded>
<Form fluid>
<Form.Group>
<Form.ControlLabel>Username</Form.ControlLabel>
<Form.Control name="name" />
</Form.Group>
<Form.Group>
<Form.ControlLabel>Password</Form.ControlLabel>
<Form.Control
name="password"
type="password"
autoComplete="off"
/>
</Form.Group>
<Form.Group>
<ButtonToolbar>
<Button appearance="primary">Sign in</Button>
</ButtonToolbar>
</Form.Group>
</Form>
</Panel> I am getting an error in my component, stating that
Am i missing some typed package? Or am i using |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
did you find a solution for that? |
Beta Was this translation helpful? Give feedback.
-
A transitional solution const Password = React.forwardRef((props, ref) => (
<Input {...props} ref={ref} type="password" autoComplete="off" />
));
return <Form.Control name="password" accepter={Password} />; |
Beta Was this translation helpful? Give feedback.
-
Seems was finally resolved in one of the latest updates. |
Beta Was this translation helpful? Give feedback.
Seems was finally resolved in one of the latest updates.