Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Content reference data attribute is not mandatory when page loads first time

Avatar

Avatar
Level 1
ashutoshrastogi
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
ashutoshrastogi
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
ashutoshrastogi
Level 1

15-06-2020

Hi All,

We are creating Content Fragment Model using "content reference" data attribute. To make it a mandatory field we have enabled following property i.e. "required = on".

When we are actually creating content fragment using above model then at the very first the said field (content reference) is not mandatory and we can save content fragment while leaving the field empty. on top of that we can see * mark (As mandatory field) in Label.

Once we drag/focus on the field (i.e. content reference field) then it behaves / work like a mandatory field.

For example:

Screenshot-1 shows Title, Date & Time, Main Image and Thumbnail Image all are mandatory fields but (content reference) Main Image and Thumbnail Image both are not showing in RED as mandatory.
Screenshot-1.png

Screenshot-2 shows Title and Date & Time have content now but (content reference) Main Image and Thumbnail Image both are empty and we can save content fragment.
Screenshot-2.png

Screenshot-3 shows Main Image is mandatory now as we have focused on that field.
Screenshot-3.png

any suggestions / comments .. on why it's not working as a mandatory field at the very first time when page loads.

Thanks in advance !!

 

content fragments Data Elements reference

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct Reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct Reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
berliant
Employee

15-06-2020

It seems to be a product issue, please open a support case and we will log a JIRA