introduce serilizeValueAs option to input, select, and radiogroup

This commit is contained in:
Christian Ratzenhofer
2026-08-03 15:36:48 +02:00
committed by Jay Michalska
parent 847c651c2b
commit 3386e609a8
7 changed files with 130 additions and 23 deletions
+1
View File
@@ -7,6 +7,7 @@ module.exports = {
manipulator: 'val',
defaults: {
label: '',
serializeValueAs: 'string',
description: '',
attributes: {}
}
+1
View File
@@ -8,6 +8,7 @@ module.exports = {
defaults: {
label: '',
options: [],
serializeValueAs: 'string',
description: '',
attributes: {}
}
+2 -1
View File
@@ -8,6 +8,7 @@ module.exports = {
defaults: {
label: '',
options: [],
serializeValueAs: 'string',
description: '',
attributes: {}
},
@@ -17,7 +18,7 @@ module.exports = {
var $value = self.$element.select('.value');
/**
* Updates the HTML value of the component to match the slected option's label
* Updates the HTML value of the component to match the selected option's label
* @return {void}
*/
function setValueDisplay() {