• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

editText {wantReturn: true} not working?

Community Beginner ,
Aug 07, 2012 Aug 07, 2012

Copy link to clipboard

Copied

I'm trying to use the new {wantReturn: true} property to have multiline edittext boxes in my UI. I can't seem to get it to function. The enter key doesn't line return and any text pasted in comes in as one line.

I'm using this line in the creation of the editText

{multiline:true,wantReturn:true}

TOPICS
Actions and scripting

Views

850

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Contributor ,
Oct 07, 2016 Oct 07, 2016

Copy link to clipboard

Copied

4 years later and this still haven't been fixed. I'm experiencing the same problem.

someText = myPanel.add("edittext", undefined, "placeholder", {wantReturn:true});

Neither the enter key nor the numpad enter works!!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 07, 2016 Oct 07, 2016

Copy link to clipboard

Copied

LATEST

someText = myPanel.add('edittext',undefined,"placeholder", {multiline: true,scrollable: true});

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines