WIP: member property validation closes #49 #71
Labels
No labels
bug
duplicate
enhancement
help wanted
high priority
invalid
L
low priority
M
medium priority
needs refinement
question
S
UX research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: local-it/mitgliederverwaltung#71
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "validation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The validation of different custom types like
emailorphoneworks. But I couldn't yet get therequiredfield option working. It should lookup ifproperty_type.requiredis true for a specificproperty.valueand check if the value is empty or not. But asproperty.valueis anAsh.Type.Unionit contains a map with the actualvalueand thetypeof the value. So just checking ifproperty.valueis empty is not enough, it needs a custom validation function to check forproperty.value[:value]. But inside a validation function I can't load the relationproperty_type.Closes this as it is replaced by #81
But keeping this branch if we want to work on required custom fields.
Pull request closed