You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
layershifter
changed the title
Form.TextArea value does not exist on FormTextAreaProps (Typings)
bug(Form): incomplete typings for Form.TextArea
Feb 9, 2017
Did some more testing today and Form.Input seems to be missing [value] field as well on the interface InputProps, though the value can still be used (I'm assuming thanks to [key: string]: any)
version 0.64.7
using TypeScript
This works ok
import { Form, TextArea } from 'semantic-ui-react'
<Form.Field> <label>Comments</label> <TextArea value='Text In Here' /> </Form.Field>
This doesn't compile
<Form.TextArea label='Comments' value='Text In Here' />
Error:
Checking [FormTextAreaProps] in index.d.ts it does not include [value]
Also not sure if this is the proper format but this doesn't work either
<Form.Field control={TextArea} value='Text In Here' />
The text was updated successfully, but these errors were encountered: