mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-04-14 20:48:37 +02:00
Fix #141 : Convert InputField value to string
This commit is contained in:
parent
312ad46fd6
commit
67068b5ccd
@ -93,8 +93,7 @@ Vue.mixin({
|
|||||||
]
|
]
|
||||||
.filter((key) => credentials.response[key] !== undefined)
|
.filter((key) => credentials.response[key] !== undefined)
|
||||||
.forEach((key) => {
|
.forEach((key) => {
|
||||||
if( credentials.response[key] === null )
|
if (credentials.response[key] === null) {
|
||||||
{
|
|
||||||
parseCredentials.response[key] = null
|
parseCredentials.response[key] = null
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -163,6 +162,7 @@ Vue.mixin({
|
|||||||
*/
|
*/
|
||||||
inputId(fieldType, fieldName) {
|
inputId(fieldType, fieldName) {
|
||||||
let prefix
|
let prefix
|
||||||
|
fieldName = fieldName.toString()
|
||||||
|
|
||||||
switch (fieldType) {
|
switch (fieldType) {
|
||||||
case 'button':
|
case 'button':
|
||||||
|
Loading…
Reference in New Issue
Block a user