-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Describe the bug
A read only picklist can be added to a subview as a text field instead of a combobox, which means from this subview the user can type in the field which will then cause an error in the forms. This is likely possible using conditional forms or different view definitions, but I found it through independent subviews. You are still able to edit the base form so this is not urgent, but the field will say "(current, invalid value)" which could cause some confusion.
To Reproduce
Steps to reproduce the behavior:
- Find or create a read only picklist and add it to a field
- Go to the form definition for the base table
- Set the field to a combobox
- Go to a subview form definition of the base table
- Add/edit the field to be rendered as a text field
- Go to the subview in the forms
- Type something in the field
- Save
- Go to the base form and see error
Expected behavior
Users should not be able to edit a read only picklists.
Screenshots
Schema config for the picklist:

CO form definition:
CO subview form definition:
Subview behavior:
12-02_09.51.mp4
Please fill out the following information manually:
- OS: Windows 11
- Browser: Chrome
- Specify 7 Version: 7.12
- Database Name: ojsmnh
- Collection name: fossil invertebrates
- User Name: spadmin
- URL: https://ojsmnh20250910-main.test.specifysystems.org/specify/