[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
like showemptyrows for rows, is that also available for textfield?  XML
Forum Index -> Development
Author Message
gseijo

Active

Joined: 29/09/2020 14:14:26
Messages: 21
Offline

hello Björn, I need something similar to showemptyrows="false" but for textfield or textarea, is there something like that already?

I didn't find anything in Editor, version 20230502.

If the query is empty then "null" appears in the textfield and that is not nice and unprofessional

Thanks
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

FIELD and TEXTAREA are sized accoeding to the WIDTH/HEIGHT definition you pass... - so you are right: there is no possibility to define "size with content".

Currently there is only the option to use TEXTPANE with width 100% and no height for displaying the text, then converting component into a TEXTAREA when the user wants to edit (or open TEXTAREA in popup).

Kind regards! Björn

...and: The possibility to have an editable text area with growing content is a nice feature, so we will think about, adding it into our development plan...

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,
we introduced a new component TEXTEDITOR which provides the desired function with 20231211. Please check the demo workplace, "News" section.
Kind regards! Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team