onOffice-Web-Org / oo-wp-plugin

onOffice for WP-Websites
https://wp-plugin.onoffice.com
GNU General Public License v3.0
9 stars 9 forks source link

Checkbox for displaying Input Fields as Dropdowns #933

Open fredericalpers opened 3 weeks ago

fredericalpers commented 3 weeks ago

Checkbox for displaying Input Fields as Dropdowns

User Story

When adding input fields like country, employer, umbrellaOrganization, etc., a checkbox initially appears to allow the option of displaying these fields as dropdown lists instead of text inputs. However, after saving the settings, the checkbox disappears, which confuses users by suggesting a feature that does not exist.

This creates a misleading UI experience and makes customers believe they can enable dropdown lists for these fields when that functionality isn't available.

Steps to Reproduce:

  1. Go to the plugin backend. Property lists or Adress lists
  2. Add input fields like country, employer, umbrellaOrganization, etc.
  3. Notice that a checkbox appears allowing the option to display the input fields as dropdown lists.
  4. Save the settings.
  5. After saving, the checkbox disappears, and the dropdown option is no longer available.

Expected behavior: The checkbox should be removed entirely if the feature is not supported, to avoid confusion.

This issue negatively impacts the user experience and needs to be resolved to prevent further confusion. Please investigate the problem with the incorrect display in the plugin backend and fix the issue.

mjsaHC MLprG6

dai-eastgate commented 2 weeks ago

@fredericalpers I fixed this bug and this is my demo video. Please help us review it. Thanks!

https://github.com/user-attachments/assets/5ef3b941-5a05-472a-8467-ffe50059fc32