HTML (or browsers?) always returns a string value from an input. However, this library should convert the type as per the type keyword.
For example, something like this should return a boolean value:
{
type: 'boolean',
choices: [
{label: 'Yes', value: true},
{label: 'No', value: false},
]
}
This seems to work properly for number type: even though the browser returns a string, the values are converted to number.