Hello,
I've created such controll
JavaScriptSurveyCore.ComponentCollection.Instance.add({
name: "phone_field",
iconName: "icon-phone-field",
title: "Phone",
elementsJSON: [
{
type: "dropdown",
name: "countrycode",
title: "",
isRequired: true,
startWithNewLine: false,
choicesByUrl: {
url: "url",
},
},
{
type: "text",
name: "phone",
title: "",
startWithNewLine: false,
enableIf: "{composite.countrycode} != null",
},
],
});
And it looks like that :
How can I hide this:
And how can I put width to countryCode field?
I tried properties like width, minWidth, maxWidth and it doesn't work by some reason. I know that I can do it via css but is it possible via properties?