Expand my Community achievements bar.

RTE field required true in EDS block

Avatar

Level 1

we have RTE field in EDS block which is required true.

 

when we add fresh block then I'm able to see the required true error, but when i add value and then remove it then that error is not coming.

when i checked in crx i was able to see <p></p> stored as value at node.

 

PiyushBo1_0-1765204975809.jpeg

 

PiyushBo1_1-1765204975812.jpeg

 

below is the json for your reference.

{
 "component": "richtext",
 "name": "fieldName",
 "label": "RTE",
 "valueType": "string",
 "description": "Description",
 "required": true
}

 

1 Reply

Avatar

Community Advisor

Hi @PiyushBo1 

Can you also try to add value property, Example

{
        "component": "richtext",
        "valueType": "string",
        "name": "longDescr",
        "value": "",
        "label": "Long Description",
        "description": "The description shown in Desktop and Tablet view."
      }

 

Arun Patidar

AEM LinksLinkedIn