You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to disable the New Item option on a design surface. When setting the options.allowAdd to false within the creator.onCollectionItemAllowOperations event, the new item button disappears, however, the non-existing item persists. View Demo
Workaround: it is possible to disable the new item using the survey.onShowingChoiceItem event (view an example). In the same manner, you would disable the special options (example).
The text was updated successfully, but these errors were encountered:
RomanTsukanov
changed the title
Choices - The new item remains visible after disabling item addition using the creator.onCollectionItemAllowOperations event
Select-based questions: Users can add new choice options even though item addition is disabled using the onCollectionItemAllowOperations event
May 29, 2024
I want to disable the New Item option on a design surface. When setting the
options.allowAdd
tofalse
within thecreator.onCollectionItemAllowOperations
event, the new item button disappears, however, the non-existing item persists.View Demo
Workaround: it is possible to disable the new item using the
survey.onShowingChoiceItem
event (view an example). In the same manner, you would disable the special options (example).The text was updated successfully, but these errors were encountered: