Expand my Community achievements bar.

SOLVED

AEM DAM Metadata schema Description field box size

Avatar

Level 2

Hi Team,

 

I am new to AEM and am trying to pick it up as fast as possible as it is a very interesting platform to learn. 

 

How can I resize the Description box when creating custom metadata schema? It is a single text line. I want it to be at least 5 lines and display at all time. It should also adjust size automatically to display the entire entered text. 

Screen grabs for reference. Manual says I am on AEM 6.5. 

 

Many thanks!

1 Accepted Solution

Avatar

Correct answer by
Employee

Screenshot 2024-08-09 at 3.28.30 PM.png

 Add rows property and change resource type as shown above to granite/ui/components/coral/foundation/form/textarea from backend when you check-in your metadata schema via code. You may also add cols property if needed.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

Screenshot 2024-08-09 at 3.28.30 PM.png

 Add rows property and change resource type as shown above to granite/ui/components/coral/foundation/form/textarea from backend when you check-in your metadata schema via code. You may also add cols property if needed.

Avatar

Level 2

Hi @digarg ,

 

Thanks for your answer! This is exactly what I was after. 

I ran into some other error which is permissions related and am unable to save the changes made. Pending for help from ICT

 

Cheers