Skip to content
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

feature request: allow addition of new select option from UI #14

Open
GoogleCodeExporter opened this issue Aug 12, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

The user should be allowed to enter new option and there should be a callback 
triggered as a result. The use case is: the user clicks on select option which 
has options, say: "baseball", "basketball", "New" . He selects "New" and enters 
"Hockey". This action by the user should trigger a callback which can be 
handled to create an entry in the database and simultaneously updating the UI 
elements. 

What version of the product are you using? On what operating system?
version: 1.3


Original issue reported on code.google.com by [email protected] on 22 Sep 2014 at 5:28

@GoogleCodeExporter
Copy link
Author

To implement the above mentioned feature, the plugin will also have to track 
ids of all select options including those that have submenus. Following json 
could be considered:

[
  {
    "hobby": 3,
    "parentid": 0
  },
  {
    "next": [
      {
        "baseball": 18,
        "parentid": 14
      },
      {
        "basketball": 16,
        "parentid": 14
      }
    ],
    "Sport": 14,
    "parentid": 0
  }
]

Original comment by [email protected] on 22 Sep 2014 at 5:52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant