let solid-form-search explicitly specify type value
solid-form-search
should not return directly value but an object containing type
and value
property.
for example:
-
solid-from-checkbox
instead of returntrue
return{type: 'boolean', value: true}
-
solid-form-rangenumber
instead of return[0, 7]
return{type: 'range', value: [0, 7]}
-
solid-form-multiple
will return{type: 'list', value: ['apple', 'orange', 'mango']}
Benefits:
- This allow to make
solid-form-multiple
andsolid-form-autocompletion
works withsolid-form-search
(#610 (closed)) - this allow to easily map each type of data to its own compare function.