I want to restrict to author select only the Model that I want, like FAQ Model to this component, how can I do that?
Here belows there's the ModelPath xml code
Solved! Go to Solution.
Views
Replies
Total Likes
Please overlay the component or have an alternate data-source and perform your logic.
Hi @NathanVieira ,
set selected (Boolean) to true. In future, to find out such properties, refer the render.jsp of the respective resourceType. In this case, refer this file "/libs/granite/ui/components/coral/foundation/form/select/render.jsp"
In xml, add this value, "selected="{Boolean}true" to the option item that you wanted to be defaulted to.
Also, you must use override your data-source(option items), as you should not do these changes to the core component.
Thank you,
Sravan
It's not a custom component but Content Fragment List core component, so the model path return
<datasource
Please overlay the component or have an alternate data-source and perform your logic.
Views
Likes
Replies