Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business


OverviewFelgo 3 Support (Qt 5) › Error when using cursorInView with AppTextEdit

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #20593



    I’m having trouble getting the cursorInView to work properly. Here is my code:

    AppFlickable {
        id: commentTextFlick
        width: dp(100)
        height: dp(100)
        contentWidth: commentText.paintedWidth
        contentHeight: commentText.paintedHeight
        AppTextEdit {
            id: commentText
            width: commentTextFlick.width
            height: commentTextFlick.height
            verticalAlignment: AppTextEdit.AlignTop
            wrapMode: TextEdit.Wrap
            cursorInView: true
            flickable: commentTextFlick

    On page load, I get the following error twice, then the same error appears each time a character is entered into the text box.

    “qrc:/qml/VPlayApps/controls/AppTextEdit.qml:169: ReferenceError: textEdit is not defined”

    In addition, how can I get the placeholderText to wrap. The text entered directly wraps fine, but the placeholderText runs off the edge.

    Thank you for any help,



    Felgo Team

    Hi, thanks for reporting the issue!

    For the cursorInView feature, the AppTextEdit expects to own the id: textEdit. You can avoid the error by using this id for your item instead of id: commentText.

    The next Felgo update will include a fix so you can again use any custom id for your AppTextEdit. Until then, please use the textEdit id for the item.


Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded