Issue #42 - Code for "Required" option#85
Conversation
|
I've tried to implement this. It works as intended, however theres a problem with validation on multiple items. In parameterconfig.controller.js. When validating on $scope.isValid() it uses _.every with a function which doesn't iterate over all the items and as it returns isValid on its own, _.every is hardly needed. It only validate the first item and when validated it returns true and the code runs $scope.submit afterwards, so the second item is never validated. Replacing _.every with _.forEach makes the code go through all the items. |
...ender.Ui/App_Plugins/LeBlender/editors/leblendereditor/dialogs/parameterconfig.controller.js
Show resolved
Hide resolved
|
@Nasmar @jacklawry What's the status here?? |
|
@KasperAndersson I am not sure to be honest now - I added this PR back at the end of 2017... I would love to see a v8 version of Le Blender. |
|
@KasperAndersson I've been using this since June 19, 2018 with the modifications I mentioned. I guess they are working on a v8 implementation instead of small fixes. |
|
@jacklawry @Nasmar Ok, thanks. |
Code for "Required" option by Tom Glen
"LeBlender Editor Property Validation #42"
(#42)