resetField
(
field
:
String
,
reset
:
Boolean
)
:
Core
| Parameter | Type | Description |
|---|---|---|
field
*
|
String
|
The field name |
reset
|
Boolean
|
If
true
, the method resets field value to empty or remove
checked
,
selected
attributes
|
const
fv
=
FormValidation
.
formValidation
(
document
.
getElementById
(
'demoForm'
)
,
{
...
}
)
;
fv
.
resetField
(
...
)
;
import
formValidation
from
'formvalidation/dist/es6/core/Core'
;
const
fv
=
formValidation
(
document
.
getElementById
(
'demoForm'
)
,
{
...
}
)
;
fv
.
resetField
(
...
)
;