You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
There does not seem to be a built-in way to validate fields based on FormRowDescriptor.Configuration.Required.
Is this intentional?
// SwiftForms/descriptors/FormDescriptor.swiftfunc validateForm()->FormRowDescriptor!{
for section in sections {
for row in section.rows {
if let required = row.configuration[FormRowDescriptor.Configuration.Required]as?Bool{
if required && row.value ==nil{return row
}}}}returnnil}
The text was updated successfully, but these errors were encountered:
angeloashmore
changed the title
FormDescriptor#validateForm() not public
FormDescriptor#validateForm not public
May 23, 2015
FormDescriptor#validateForm
is not public.There does not seem to be a built-in way to validate fields based on
FormRowDescriptor.Configuration.Required
.Is this intentional?
The text was updated successfully, but these errors were encountered: