MCPcopy Create free account
hub / github.com/ionic-team/ionic-framework / shouldClearOnEdit

Method shouldClearOnEdit

core/src/components/input/input.tsx:556–559  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

554 }
555
556 private shouldClearOnEdit() {
557 const { type, clearOnEdit } = this;
558 return clearOnEdit === undefined ? type === 'password' : clearOnEdit;
559 }
560
561 private getValue(): string {
562 return typeof this.value === 'number' ? this.value.toString() : (this.value || '').toString();

Callers 1

checkClearOnEditMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected