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:
Chirag Chhatrala
2024-11-20 21:36:11 +05:30
committed by GitHub
parent dfec772d82
commit ab83aa166c
11 changed files with 131 additions and 139 deletions

View File

@@ -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])
}