mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
feat(input): default autocomplete/autocorrect=off, fix autofocus
Related: #5480
This commit is contained in:
@ -113,7 +113,7 @@ export const isArray = Array.isArray;
|
||||
export const isTrueProperty = function(val: any): boolean {
|
||||
if (typeof val === 'string') {
|
||||
val = val.toLowerCase().trim();
|
||||
return (val === 'true' || val === '');
|
||||
return (val === 'true' || val === 'on' || val === '');
|
||||
}
|
||||
return !!val;
|
||||
};
|
||||
|
Reference in New Issue
Block a user