Default entries in multifield with different default values

Avatar

Avatar

maheswariv26797

Avatar

maheswariv26797

maheswariv26797

15-09-2020

Hi,

 

I have a requirement where i need to show 3 default entries in the multifield with 3 different values.

 

I have used the field.addItem(); field.doLayout(); to get the default entries using listeners. However, iam not getting how to add content to these 3 default entries.

Can someone please help me.

 

Thanks,

Maheswari

View Entire Topic

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

(val/1000)?string[".0"]}K

Likes

958

Correct Answer

820

Avatar

Arun_Patidar

MVP

Total Posts

(val/1000)?string[".0"]}K

Likes

958

Correct Answer

820
Arun_Patidar
MVP

16-09-2020

I think, you should you cq:template to create item0, item1 and item3 nodes with default values so that as soon as multifield component added three fields created automatically with three different values.