-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI: Cannot save element with SingleChoice field #1900
Comments
Hi @childen, Thanks for reporting this! The Single and Multi Choice fields are almost implemented but not quite there yet. The progress is tracked here: #1076. It looks like you are hitting the same issue as @haxtibal. StrictDoc has a not so well explained convention about single- and multi-line fields convention which he documented here just yesterday. Please check his documentation update, and let me know if slightly changing your grammar would fix the issue: #1898. |
@haxtibal already suggested that the single/multiline fields could be placed below the statement field but be always treated as single-line fields. This could be a good option for overcoming this limitation. |
@stanislaw thank you for the clarification. Moving the field solves the issue in the dev environment. Should we close this issue or keep it around to track one of the following solutions?
|
Let's not close this issue. I will do the following: Add a validation to the grammar validator in the CLI interface as well as in the UI interface. Both messages will prevent a grammar with this issue's example from being created. This will satisfy the point 2 and will make the point 1 solved at the same time. I am not happy with this convention but I don't know of a better way of handling this. Here is a fragment of my recent discussion with @haxtibal:
And then the response from @haxtibal:
|
Steps to reproduce:
For me the edit window stays open and no error is displayed.
Additionally the backend prints the following error message:
NotImplementedError: Field STATUS must be a single-line field.
Backtrace:
The text was updated successfully, but these errors were encountered: