Skip to content

Request to Add cursorPosition Property Alias in FormTextFieldDelegate

Akram Abdeslem Chaima requested to merge gakramx/kirigami-addons:master into master

I'm working with FormTextFieldDelegate from the Kirigami component library, specifically the delegate in the FormCard. For an external project, I needed to add an alias for the cursorPosition property to access and modify it directly from my QML code.

for example : property alias cursorPosition: textField.cursorPosition

I have a couple of questions about the use of property alias within this component:

  1. Is it recommended to add property aliases only when there’s a specific use case for them, or is it generally acceptable to add common aliases like cursorPosition in the core component?

  2. Would adding a cursorPosition alias to the FormTextFieldDelegate benefit other users or be aligned with the design philosophy of the Kirigami components?

Thank you for the guidance!

Merge request reports

Loading