form_ui = :select On Miércoles, 7 de noviembre de 2012 21:26:46 ownedthx escribió: > I want to provide the user with a dropdown for a *belongs_to *field, and > have the user's action of just changing the selected value in the dropdown > to change the value of the field; I don't want them to have to pick a > dropdown value, then click Add Existing. In fact I just want the > dropdown to *be* the field; but today, in a *belongs_to* situation, you > have a field with text, and a dropdown below it and the Add Existing > link--and clicknig Add Existing puts the value of the dropdown into the > text field. It feels way too indirect. > > Is there a way to merge those three ideas into one field--a single > dropdown? The dropdown then shows the value and also allows you to change > it; and if you change it, then you changed the value (provided you click > 'Update' at the bottom, of course) > > > I'm aware of column_show_add_existing -- that's not what I'm looking for. > If you set that to false, then the dropdown next to 'Add Existing' is > removed altogether, and the user is just left with a free-formed text field. > > There is still the challenge of adding new values to that dropdown... but > let me wave that away for a second... is what I'm asking clear? > > Thanks for any help!
-- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en.
