surveyjs / custom-widgets

The collection of custom widgets for SurveyJS: Survey Library and Survey Creator :package:
https://surveyjs.io
MIT License
79 stars 78 forks source link

New properties for widgets goes to "Other" category #207

Closed marcziss closed 4 years ago

marcziss commented 4 years ago

UPDATE: All new properties for widgets missed the category name.

The sample seems to not be working when you select phone on input mask in the sample https://surveyjs.io/Examples/Survey-Creator?id=customwidgets&theme=bootstrap#content-result it just renders the work 'phone' in the input box

The other question I had (and the reason I was looking at the sample) was:

how can I get the Input Mask property up to the general tab? I tried the normal way of moving items:

 SurveyJSCreator
            .SurveyQuestionEditorDefinition
            .definition["survey"]
            .properties = [
...
     { name: "inputFormat", tab: "general", title:"My Mask" },
]

It didn't work, I realize this is a widget, so maybe there's a different way of doing it.

Thanks Marc

andrewtelnov commented 4 years ago

@marcziss I set categories to new properties.