app-generator / docs

App Generator - The Official Documentation | AppSeed
https://docs.appseed.us
1 stars 1 forks source link

Django: Wizard steps & options #42

Open mdf-ido opened 1 year ago

mdf-ido commented 1 year ago

I'd like to see how I can display different options based on selections with the Wizard plugin. An example is getting user's interests to show them articles relating to the selected topics. In this scenario the first step will ask the user to select topics (Tech, Business, ....). If the user select Tech and clicks next then sub categories inside of Tech will be displayed for selection like Programming, Hardware, Security. Since the user didn't select business in the first step then the second step will omit selections under business like Marketing, Sales or Leadership.

The options should come from the database and the options selected should be commited to the DB as well.

I am looking for a doc that shows how to do conditional JS and tie it to the Wizard plugin.

Thanks!

app-generator commented 1 year ago

Hello @mdf-ido

Thank you for this submission. The above scenario is related to a specific product & framework (Flask, Django)?

ty!

mdf-ido commented 1 year ago

@app-generator - That is correct it is the wizard feature in the Soft-UI Dashboard in Django: https://www.creative-tim.com/learning-lab/bootstrap/wizard/soft-ui-dashboard

Thanks!