File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
core/src/components/input/test/bottom-content Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 3535 </ style >
3636 </ head >
3737
38- < body >
38+ < body onLoad =" onLoad() " >
3939 < ion-app >
4040 < ion-header >
4141 < ion-toolbar >
@@ -130,6 +130,15 @@ <h2>Counter: with Error</h2>
130130 </ ion-app >
131131
132132 < script >
133+ // Hide the toggle fill button on ios mode since it's not supported
134+ function onLoad ( ) {
135+ const toggleFillButton = document . querySelector ( 'button' ) ;
136+
137+ if ( Ionic . mode === 'ios' && toggleFillButton ) {
138+ toggleFillButton . style . display = 'none' ;
139+ }
140+ }
141+
133142 const customCounterInput = document . querySelector ( 'ion-input#custom-counter' ) ;
134143 customCounterInput . counterFormatter = ( inputLength , maxLength ) => {
135144 const length = maxLength - inputLength ;
You can’t perform that action at this time.
0 commit comments