chembl / IDG

Issue tracker for the IDG interface
0 stars 1 forks source link

Make some fields disabled based on the business logic. #101

Open mnowotka opened 8 years ago

mnowotka commented 8 years ago

As described in https://github.com/chembl/IDG/issues/99 it can be sometimes confusing when the user specified a ChEMBL_ID and doesn't really have any choice to fill certain fields but those fields are still editable. Also fields like 'drug_type' (or any xxx_type) usually have some finite set of choices so should be converted into dropdown/autosuggestion not just a regular box which gives an impression that you can type in anything you want.

revajk commented 8 years ago

I did have Choices added for the drug_type. It works fine unless I don't have to reload data from a different source like excel. When I load data from excel the drug_type becomes null. Michal, I think we did discuss this before my vacation.