I have run into some setbacks with dynamically populating the options for the Select components of a Smart Table. I am not sure if it is a bug issue or just a feature limitation issue. The issues I am facing are:
- After incorporating the code to populate the drop down lists for the Smart Table, I see a drop down list on the 1st row. However, when I try to add a new record or update an existing record, the drop down disappears. It is when a record is being added or updated that a dropdown list would be most useful in a table. Is there a plan to enable a drop down to show when adding or editing a record? (See screen capture below)
- The placement of the ‘Add New’ button seems wrongly placed. It looks like it should be placed above the table (or somewhere else in the table, or a search caption should be near it), so you know when you click on it, a new row shows up in the table for the addition of a new record. When I look at the Smart Table and see some input fields at the top and a button to the left that reads ‘Add New’, my initial assumption is that I populate the input fields on top and click the ‘Add New’ button to add the new record. However, from trying this out, I see that the input fields at the top of the Smart Table are actually search fields. So what you input in them filter the records shown in the Smart Table. To make it clear that the input fields on top of the Smart Table are actually search fields, I would think there should be a label that says something like ‘Search’ where the ‘Add New’ button currently is and not just only the button that says ‘Add New’.
The feedback above is a bit long, but I hope it is clear.
Overall, for the 1st issue, can you advise if there would be a plan to accommodate having a dropdown list show for the add and edit feature? And if so, how soon someone could expect to see it implemented. This would help me determine if I should continue working with the Smart Table or try to do what I am trying to with a Regular Table component. For the 2nd issue, I could potentially live with it, but it would be nice to have the ‘Add New’ button moved somewhere else (or a Search caption close to it) to make it clear to a user how it works.