Try our conversational search powered by Generative AI!

Set width on dijit.form.FilteringSelect using [DojoWidget(AdditionalOptions)]?



I'm using the [DojoWidget] attribute on my criterion but the rendered dijit.form.FilteringSelect is to small. Can I modify the width using AdditionalOptions with something like below?

[DojoWidget(WidgetType = "dijit.form.FilteringSelect",
    SelectionFactoryType = typeof(CategorySelectionFactory),
    LabelTranslationKey = "/criterions/VisitedCategoryCriterion/properties/SelectedCategory",
    AdditionalOptions = "{ selectOnClick: true, style: { width: 25em } }")]

This does not work, but is it possible in some other way?



Apr 13, 2022 11:58

Can anyone help with this? Thanks!


May 11, 2022 10:52
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.