-
Notifications
You must be signed in to change notification settings - Fork 734
Incubator.TextField - should float with defaultValue #2344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
046edad
7cd3388
0ffe453
df88118
b558c1f
1e233bb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,6 +86,7 @@ export interface FloatingPlaceholderProps { | |
floatOnFocus?: boolean; | ||
validationMessagePosition?: ValidationMessagePosition; | ||
extraOffset?: number; | ||
defaultValue?: TextInputProps['defaultValue']; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 'TextInputProps' are the OLD TextField's prop... why use them in the incubator? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, it's RN's props There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok... |
||
testID: string; | ||
} | ||
|
||
|
@@ -142,7 +143,7 @@ export interface InputProps | |
/** | ||
* Use react-native-gesture-handler instead of react-native for the base TextInput | ||
*/ | ||
useGestureHandlerInput?: boolean; | ||
useGestureHandlerInput?: boolean; | ||
} | ||
|
||
export type TextFieldProps = MarginModifiers & | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not pass the input's 'value'? Why do we need a separate prop?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a prop from RN which we inherit and the user that opened the bug is using