mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
convert all inputs to text except login (#1356)
This commit is contained in:
@@ -70,11 +70,7 @@
|
||||
</ion-textarea>
|
||||
<ng-template #notTextArea>
|
||||
<ion-input
|
||||
[type]="
|
||||
spec.type === 'string' && spec.masked && !unmasked[entry.key]
|
||||
? 'password'
|
||||
: 'text'
|
||||
"
|
||||
type="text"
|
||||
[inputmode]="spec.type === 'number' ? 'tel' : 'text'"
|
||||
[placeholder]="spec.placeholder || 'Enter ' + spec.name"
|
||||
[formControlName]="entry.key"
|
||||
@@ -301,7 +297,7 @@
|
||||
>
|
||||
<ion-item color="dark">
|
||||
<ion-input
|
||||
[type]="$any(spec.spec).masked ? 'password' : 'text'"
|
||||
type="text"
|
||||
[inputmode]="spec.subtype === 'number' ? 'tel' : 'text'"
|
||||
[placeholder]="
|
||||
$any(spec.spec).placeholder || 'Enter ' + spec.name
|
||||
|
||||
Reference in New Issue
Block a user