Closed fletchto99 closed 8 years ago
Hey,
The other week I was hosting hackathon and some users were trying to send numbers as the title of the menu. When they did this the sub-title no longer rendered. I've put together a minimal example to replicate this issue:
var UI = require('ui'); new UI.Menu({ sections: [{ items: [{ title: 89, subtitle: 'hello world' }, { title: 92, subtitle: 'hellow world' }] }] }).show();
As you can see the title renders fine but the subtitle is not there as expected. The expected output would be:
Thanks for catching this one! Let me know if the fix works for you.
Looks good thanks @Meiguro
Hey,
The other week I was hosting hackathon and some users were trying to send numbers as the title of the menu. When they did this the sub-title no longer rendered. I've put together a minimal example to replicate this issue:
As you can see the title renders fine but the subtitle is not there as expected. The expected output would be: