Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

multilineText placeholder #173

Open
appsird opened this issue Feb 12, 2018 · 1 comment
Open

multilineText placeholder #173

appsird opened this issue Feb 12, 2018 · 1 comment

Comments

@appsird
Copy link

appsird commented Feb 12, 2018

I attempted to use a placeholder to describe text for multiline, though nothing appears. Would appreciate understanding how I am in error (the below snippet does not reveal the placeholder text):

    let section2 = FormSectionDescriptor(headerTitle: "Description", footerTitle: nil)
    let row3 = FormRowDescriptor(tag: Static.textView, type: .multilineText, title: "")
    row3.configuration.cell.placeholder = "this is a test"
    section2.rows.append(row3)
@appsird
Copy link
Author

appsird commented Feb 12, 2018

Also tried the following, which crashes:

let section2 = FormSectionDescriptor(headerTitle: "Description", footerTitle: nil)
let row3 = FormRowDescriptor(tag: Static.textView, type: .multilineText, title: "")
row3.configuration.cell.appearance = ["textField.placeholder" : "Touring Category" as AnyObject]
section2.rows.append(row3)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant