my simple form to edit user profile
<template name="dashboard">
{{#autoForm collection='Meteor.users' doc=currentUser type='update' id='accountForm'}}
{{> afQuickField name='profile.name' autofocus=''}}
{{> afQuickField name='profile.bio' rows=5}}
<button type='submit' class="btn btn-primary">Update</button>
{{/autoForm}}
</template>
why form is submited if fields is empty? i set optional: false in scheme!
data not saved, because i get error
{error: 400, reason: "INVALID", details: "[{"name":"profile.name","type":"required","value":null}]", message: "INVALID [400]", errorType: "Meteor.Error"}
my form have attribute novalidate=“novalidate” WHY? i aslo set validation=“submit”