MCPcopy Create free account
hub / github.com/UI5/webcomponents / resetForm

Function resetForm

packages/base/src/features/InputElementsFormSupport.ts:78–81  ·  view source on GitHub ↗
(element: UI5Element)

Source from the content-addressed store, hash-verified

76};
77
78const resetForm = (element: UI5Element) => {
79 const form = getAssociatedForm(element);
80 form?.reset();
81};
82
83const isInputElement = (element: IFormInputElement | UI5Element): element is IFormInputElement => {
84 return "formFormattedValue" in element && "name" in element;

Callers 1

_onclickMethod · 0.85

Calls 2

getAssociatedFormFunction · 0.85
resetMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…