mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 20:19:13 +00:00
fix doc comment
This commit is contained in:
@@ -40,7 +40,7 @@ export class SlForm extends LitElement {
|
||||
@property({ type: Boolean, reflect: true }) novalidate = false;
|
||||
|
||||
/**
|
||||
* @emit sl-submit - Emitted when the form is submitted. This event will not be emitted if any form control inside of
|
||||
* Emitted when the form is submitted. This event will not be emitted if any form control inside of
|
||||
* it is in an invalid state, unless the form has the `novalidate` attribute. Note that there is never a need to prevent
|
||||
* this event, since it doen't send a GET or POST request like native forms. To "prevent" submission, use a conditional
|
||||
* around the XHR request you use to submit the form's data with. Event details will contain:
|
||||
|
||||
Reference in New Issue
Block a user