mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-29 13:26:59 -04:00
introduce serilizeValueAs option to input, select, and radiogroup
This commit is contained in:
committed by
Jay Michalska
parent
847c651c2b
commit
3386e609a8
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user