Project

General

Profile

Actions

Feature #9521

closed

Textarea: auto height 'on the fly'

Added by Carsten Rose over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Benjamin Baer
Target version:
Start date:
07.11.2019
Due date:
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
Vote:

Description

Wenn nicht zu aufwendig, bitte die Textarea Hoehe automtisch, waerhrend des Tippens, anpassen (erhoehen, ggfs. verringern wenn Zeilen geloescht werden)

Statisch: #7682


Related issues

Related to QFQ - Feature #7682: Input 'textarea' with auto heightClosedCarsten Rose19.01.2019

Actions
Actions #1

Updated by Carsten Rose over 4 years ago

  • Related to Feature #7682: Input 'textarea' with auto height added
Actions #2

Updated by Carsten Rose over 4 years ago

  • Subject changed from Textarea: auto height onl the fly to Textarea: auto height 'on the fly'
Actions #3

Updated by Benjamin Baer over 4 years ago

  • Status changed from New to Closed

Done.

Textareas die sich in der groesse anpassen sollen benoetigen Klasse: qfq-auto-grow

Actions #4

Updated by Benjamin Baer over 4 years ago

  • Tracker changed from Support to Feature

Done

Actions #5

Updated by Benjamin Baer over 4 years ago

  • Now also changes initial height
  • Now also has a max height attribute: data-max-height="100" (uses pixels)
Actions #6

Updated by Benjamin Baer over 4 years ago

Actions #7

Updated by Carsten Rose over 4 years ago

  • Status changed from Closed to In Progress
`textarea` benoetigt fuer auto grow:
  • class 'qfq-auto-grow'
  • data-max-height="200"

Wird keine 'data-max-height' ist die Hoehe by default 350px.

Nach Diskussion mit BB:
  • Textarea wird (wie bisher) aktiviert in dem bei fe.size zwei oder drei Parameter gesetzt werden. Bsp.: fe.size=60,10,200
  • By default ist 'auto-grow' on.
  • Der dritte Parameter ist neu in Pixeln (frueher: Zeilen).
  • Ist der dritte Parameter=0, ist auto-grow=off.
  • Zeilen/Pixel: Bestehende FE werden nicht automatisch angepasst - es gibt nur wenig Elemente die das brauchen.
  • Der FormEditor wird manuell in QFQ angepasst.
Actions #8

Updated by Carsten Rose over 4 years ago

  • Status changed from In Progress to Closed
Actions #9

Updated by Carsten Rose over 4 years ago

  • Target version changed from 146 to 19.11.0
Actions

Also available in: Atom PDF