Closed collinjackson closed 2 years ago
attributedPlaceholder
BoxConstraints
State
setState
Fixes #29
Screen recording of built-in example:
https://user-images.githubusercontent.com/394889/159203300-75489b6d-dbae-4539-aae0-f36e9b10db54.mov
Screen recording of indjec/native-text-field demo:
https://user-images.githubusercontent.com/394889/159539620-787363af-1c3a-45db-8138-2eb15b52e22f.mp4
Will include this PR in 2.2.0 release. Please rebase, thanks👍🏻
PR has been rebased, PTAL
attributedPlaceholder
instead of editing the text in the UITextView. This allows the text to be shown when the field is selected.BoxConstraints
errors when the max height is not valid.State
to mutate the state object insidesetState
.Fixes #29
Screen recording of built-in example:
https://user-images.githubusercontent.com/394889/159203300-75489b6d-dbae-4539-aae0-f36e9b10db54.mov
Screen recording of indjec/native-text-field demo:
https://user-images.githubusercontent.com/394889/159539620-787363af-1c3a-45db-8138-2eb15b52e22f.mp4