mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
refactor(text-input): wrapped inputs in the item-inner div to style the border
references #492
This commit is contained in:
@ -20,8 +20,10 @@ import {Platform} from '../../platform/platform';
|
||||
'(mouseup)': 'pointerEnd($event)'
|
||||
},
|
||||
template:
|
||||
'<ng-content></ng-content>' +
|
||||
'<input [type]="type" aria-hidden="true" scroll-assist *ng-if="scrollAssist">',
|
||||
'<div class="item-inner">' +
|
||||
'<ng-content></ng-content>' +
|
||||
'<input [type]="type" aria-hidden="true" scroll-assist *ng-if="scrollAssist">' +
|
||||
'</div>',
|
||||
directives: [NgIf, forwardRef(() => InputScrollAssist)]
|
||||
})
|
||||
export class TextInput {
|
||||
|
Reference in New Issue
Block a user