Skip to content
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

chore(docs/schema): text-field's selectionHandleColor attribute (Android only) #1003

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
placeholder="Placeholder"
placeholderTextColor="#8D9494"
selectionColor="#4778FF"
selectionHandleColor="#4778FF"
cursorColor="#4778FF"
value=""
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
placeholder="Placeholder"
placeholderTextColor="#8D9494"
selectionColor="#4778FF"
selectionHandleColor="#4778FF"
cursorColor="#4778FF"
value=""
/>
Expand Down
8 changes: 8 additions & 0 deletions docs/reference_textfield.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@ The text color of the placeholder string.

The highlight, selection handle and cursor color of the text input.

#### `selectionHandleColor` (Android)

| Type | Required |
| ------ | -------- |
| string | No |

Sets the color of the selection handle. Unlike `selectionColor`, it allows the selection handle color to be customized independently of the selection's color.

#### `cursorColor` (Android)

| Type | Required |
Expand Down
1 change: 1 addition & 0 deletions schema/core.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1105,6 +1105,7 @@
<xs:attribute name="placeholder" type="xs:string" />
<xs:attribute name="placeholderTextColor" type="hv:color" />
<xs:attribute name="selectionColor" type="hv:color" />
<xs:attribute name="selectionHandleColor" type="hv:color" />
<xs:attribute name="cursorColor" type="hv:color" />
<xs:attribute name="keyboard-type">
<xs:simpleType>
Expand Down