File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ export abstract class Select extends selectBaseClass {
311311 this . nativeErrorText = '' ;
312312 }
313313
314- [ onReportValidity ] ( invalidEvent : Event | null ) {
314+ override [ onReportValidity ] ( invalidEvent : Event | null ) {
315315 // Prevent default pop-up behavior.
316316 invalidEvent ?. preventDefault ( ) ;
317317
@@ -834,11 +834,11 @@ export abstract class Select extends selectBaseClass {
834834 this . field ?. click ( ) ;
835835 }
836836
837- [ createValidator ] ( ) {
837+ override [ createValidator ] ( ) {
838838 return new SelectValidator ( ( ) => this ) ;
839839 }
840840
841- [ getValidityAnchor ] ( ) {
841+ override [ getValidityAnchor ] ( ) {
842842 return this . field ;
843843 }
844844}
Original file line number Diff line number Diff line change @@ -768,18 +768,18 @@ export abstract class TextField extends textFieldBaseClass {
768768 this . getInputOrTextarea ( ) . focus ( ) ;
769769 }
770770
771- [ createValidator ] ( ) : Validator < unknown > {
771+ override [ createValidator ] ( ) : Validator < unknown > {
772772 return new TextFieldValidator ( ( ) => ( {
773773 state : this ,
774774 renderedControl : this . inputOrTextarea ,
775775 } ) ) ;
776776 }
777777
778- [ getValidityAnchor ] ( ) : HTMLElement | null {
778+ override [ getValidityAnchor ] ( ) : HTMLElement | null {
779779 return this . inputOrTextarea ;
780780 }
781781
782- [ onReportValidity ] ( invalidEvent : Event | null ) {
782+ override [ onReportValidity ] ( invalidEvent : Event | null ) {
783783 // Prevent default pop-up behavior.
784784 invalidEvent ?. preventDefault ( ) ;
785785
You can’t perform that action at this time.
0 commit comments