adding umbNestedProperty to build up a json path for a targeted nested property type.
This commit is contained in:
@@ -586,8 +586,14 @@
|
||||
for (var p = 0; p < tab.properties.length; p++) {
|
||||
var prop = tab.properties[p];
|
||||
|
||||
// store the original alias before we change below, see notes
|
||||
prop.propertyAlias = prop.alias;
|
||||
|
||||
// NOTE: This is super ugly, the reason it is like this is because it controls the label/html id in the umb-property component at a higher level.
|
||||
// not pretty :/ but we can't change this now since it would require a bunch of plumbing to be able to change the id's higher up.
|
||||
prop.alias = model.alias + "___" + prop.alias;
|
||||
|
||||
// TODO: Do we need to deal with this separately?
|
||||
// Force validation to occur server side as this is the
|
||||
// only way we can have consistency between mandatory and
|
||||
// regex validation messages. Not ideal, but it works.
|
||||
|
||||
Reference in New Issue
Block a user