This commit is contained in:
@@ -785,8 +785,21 @@ TODO: 1 BETA DOCS:
|
||||
\_____|______|_____|______|_| \_| |_|
|
||||
|
||||
|
||||
- 1 todo: *** BIG one: the formfieldreference.cs file at the server end does *NOT* always use the exact model property names in the FieldKey property.
|
||||
this is a huge issue because it breaks custom field required validation, the server just bombs on that becuase it can't find the property on the model
|
||||
Unfortunately the client uses the same field name in it's v-if to hide or show fields so there are three things that need to be done here:
|
||||
|
||||
- go through line by line and Ensure FormFieldREference uses the Actual Model property name exactly as it is defined
|
||||
probably a hint this is not correct is if the fieldkey and the TKey are exactly the same
|
||||
When a mismatch is found fix it at the server and also fix it at the client
|
||||
At the client end change the v-if to use the same value (note that error handling etc already uses proper model names, this is just the v-if hide or show)
|
||||
probably have to search globally because the same thing could be in use in multiple forms, will get a rythm for this when I get there
|
||||
- At the server in RequiredFieldsValidator.cs wrap line 87 and maybe the above in a try catch block to properly handle and issue an error if the names don't match
|
||||
rather than bombing. maybe do this first so can catch the ones that slip through
|
||||
|
||||
- 1 todo: time control in native browser format isn't showing a title at all, check date as well. Date and time is ok
|
||||
|
||||
|
||||
- 2: history form now shows user activity for a report which is ok but it shows like this:
|
||||
"LT:Report id: "2" LT:Customer (1082) LT:User AyaNova SuperUser"
|
||||
This is coming from the job log when the render job is submitted. not sure if this is good or bad or should be there but at least it should be translated
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
|
||||
<v-col
|
||||
v-if="
|
||||
form().showMe(this, 'WorkOrderSummary') &&
|
||||
form().showMe(this, 'Notes') &&
|
||||
!(
|
||||
value.userIsSubContractorFull ||
|
||||
value.userIsSubContractorRestricted
|
||||
|
||||
Reference in New Issue
Block a user