Is it possible to make all the mandatory properties have a red border, so the user knows they're mandatory? I created a new folder, a new CSS file, and the package.manifest file inside the App_Plugins folder. I then did this:
Basically makes the border red on all elements that have the ng-required="model.validation.mandatory" attribute and that are required. However, I noticed something. Not all elements have a mandatory required class or attribute in the view, so I can't possibly do it that way.
I started looking into the $scope from the Angular backoffice of Umbraco, and I noticed some elements have the model.validation.mandatory attributes (mandatory: true). However, some properties like Rich Text Editor in Vorto does not have them (or anything that even looks like I could use it).
I am willing to override any Umbraco or Vorto configuration to get this working.
Make mandatory elements have a red border
Hello!
Is it possible to make all the mandatory properties have a red border, so the user knows they're mandatory? I created a new folder, a new CSS file, and the
package.manifest
file inside theApp_Plugins
folder. I then did this:Basically makes the border red on all elements that have the
ng-required="model.validation.mandatory"
attribute and that are required. However, I noticed something. Not all elements have a mandatory required class or attribute in the view, so I can't possibly do it that way.I started looking into the $scope from the Angular backoffice of Umbraco, and I noticed some elements have the
model.validation.mandatory
attributes (mandatory: true
). However, some properties like Rich Text Editor in Vorto does not have them (or anything that even looks like I could use it).I am willing to override any Umbraco or Vorto configuration to get this working.
Thanks
is working on a reply...