-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple inputs #23
Multiple inputs #23
Conversation
testing with text to speech on mac, I see an empty drop down list (see attached). my hunch is that I'm not sending the right data out. is there an example of what the config/API ought to look like? Right now, I'm doing this: config.map('say', this.say, [
{ name: 'words', title: 'Words to Speak', type: 'text'},
{ name: 'voice', title: 'Voice Persona', type: 'radio',
value: this._availableVoices},
{ name: 'device', title: 'Audio Output Device', type: 'radio',
value: this._availableDevices},
{ name: 'rate', title: 'Rate of Speech', type: 'range',
min: 90, max: 720, step: 1, units: 'words per minute'}
]); where the API for the device field looks like this: {
"name": "device",
"title": "Audio Output Device",
"type": "radio",
"value": [
{
"id": "39",
"name": "AirPlay"
},
{
"id": "47",
"name": "Built-in Output"
}
]
} |
Yes, remapping 'name' to 'value' should do it. Take a look at how Adam modified your code here: Alan Languirand On Tue, Oct 28, 2014 at 3:21 AM, brian mulloy [email protected]
|
We are using {
"name": "device",
"title": "Audio Output Device",
"type": "radio",
"value": [
{
"value": "39",
"text": "AirPlay"
},
{
"value": "47",
"text": "Built-in Output"
}
]
} |
@landlessness can you please test-drive this browser update? form field rendering in the browser is much better than before, esp for the desktop-size view. There are still some visual issues to work out with smaller/mobile size and pinning.