creator.onItemValueAdded - A newly added Rating question item ignores custom value and text when adding an item from the design surface

This issue has been tracked since 2023-02-10.

When adding a Rating item from the design surface, the creator.onItemValueAdded function is fired, however, a newly added item's value and text are not set to custom values.

creator.onItemValueAdded.add((sender, options) => {
        options.newItem.value = 'newItem1';        
        switch (options.propertyName) {
          case 'rateValues' :
            options.newItem.value = "new1";
            options.newItem.text = "Enter Choice";
            break;
            }
        }
    );

Example.
https://user-images.githubusercontent.com/22372972/218088611-a1262582-dac8-4e34-b994-963f5512c43a.mp4

More Details About Repo
Owner Name surveyjs
Repo Name survey-creator
Full Name surveyjs/survey-creator
Language TypeScript
Created Date 2015-12-22
Updated Date 2023-03-30
Star Count 683
Watcher Count 29
Fork Count 308
Issue Count 301

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date