Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Enhancement] Provide ability to customize different material textfield/Entry properties #735

@Cfun1

Description

@Cfun1

Summary

Currently it is relatively hard to change the cursor color of an Entry, either needs custom renderer or digging into platform styles. It would be nice to have an effect (applied in xaml as in code) that enables the users to change the cursor color inside an Entry on all target platforms.

Also provide the ability to customize different properties that material textfield offers directly from xaml.

API Changes

Something like:
xct:CursorEffect.Color="red"
xct:CursorEffect.IndicatorUnFocusedColor="red"

Intended Use Case

Less use of custom renderers, more easier to change the styling dynamically.

Preliminary List of properties

  • Cursor color.
  • Activation indicator when not focused (when focused I believe it takes PlaceholderColor).

Reference

https://material.io/components/text-fields

Who Will Do The Work?

  • I am willing to take this on myself
  • Just putting this out there for someone to pick up

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA request for a new feature.needs-approvalFeature request has been submitted but is awaiting final approval. Please do not implement before!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions