mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
M #~: Fix array user inputs sep ';' in fireedge (#1120)
(cherry picked from commit 204fb068d38b53a4e5f623e13a1f0b81569f5a48)
This commit is contained in:
parent
b4d71562a5
commit
95a5a1dbfe
@ -9,7 +9,7 @@ const requiredSchema = (mandatory, name, schema) =>
|
||||
const getRange = (options) =>
|
||||
options.split('..').map(option => parseFloat(option))
|
||||
|
||||
const getValuesFromArray = (options, separator = ',') => options?.split(separator)
|
||||
const getValuesFromArray = (options, separator = ';') => options?.split(separator)
|
||||
|
||||
const getOptionsFromList = (options, separator = ',') =>
|
||||
options?.split(separator).map(value => ({ text: value, value }))
|
||||
|
Loading…
x
Reference in New Issue
Block a user