Closed skellock closed 9 years ago
I'm trying to fire up an app.alert with a text box and the app crashes
app.alert
Exception raised: NameError: uninitialized constantAlert_edit_text'`
Exception raised: NameError: uninitialized constant
BluePotion is looking for R::Id::Alert_edit_text but our app hasn't defined that.
R::Id::Alert_edit_text
https://github.com/infinitered/bluepotion/blob/master/lib/project/alert_dialog/alert_dialog.rb#L68
What's the best strategy here? Should I define that constant in the app? Should we pass it in as part of the interface? Can BP autogen it?
Thanks in advance.
Hrmmm. Checking into this now.
I'm trying to fire up an
app.alert
with a text box and the app crashesException raised: NameError: uninitialized constant
Alert_edit_text'`BluePotion is looking for
R::Id::Alert_edit_text
but our app hasn't defined that.https://github.com/infinitered/bluepotion/blob/master/lib/project/alert_dialog/alert_dialog.rb#L68
What's the best strategy here? Should I define that constant in the app? Should we pass it in as part of the interface? Can BP autogen it?
Thanks in advance.