Matrix Improvements (#606)
* Support disable on matrix * fix checkbox and radio icon * Use Nuxt UI toggle * Can set max_char_limit null * fix action icon design * Support for URL prefill for Matrix * Apply theme color on toggle * Set --form-color as style variable and use it * Set default value for form-color * fix formatting --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
@@ -65,6 +65,8 @@ const preFillUrl = computed(() => {
|
||||
props.formData[property.id].forEach((value) => {
|
||||
uriComponents.append(property.id + "[]", value)
|
||||
})
|
||||
} else if (typeof props.formData[property.id] === 'object') {
|
||||
uriComponents.append(property.id, JSON.stringify(props.formData[property.id]))
|
||||
} else {
|
||||
uriComponents.append(property.id, props.formData[property.id])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user