Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #104255
    jqwidgetsdev
    Participant

    Hi,

    I want to add a smart repeat button inside a smart form.
    Can you please point me to information on how to use custom control types?

    Thank you.

    #104256

    Hi,

    To use a custom control in Smart.Form your controlType should be set to ‘template’ and you have to provide a template property
    which is the HTML of the custom control type.
    Please see this example: https://codepen.io/svetoslavb04/pen/KKByXBB

    I hope it helps you resolve your problem, if not, do not hesitate to contact us!

    Best Regards,
    Svetoslav Borislavov

    Smart UI Team
    https://www.htmlelements.com/

    #104257
    jqwidgetsdev
    Participant

    Hi Svetoslav,

    Thanks, the slider shows as expected when the it’s outside a smart form group.
    However, when the slider is in a smart form group then the slider appears malformed.

    Is this a known issue?

    #104265

    Hi,

    Here is an example of the custom control type in a group:
    https://codepen.io/svetoslavb04/pen/BaPYwvQ?editors=0010

    You can send us a demo of the problem.

    Best Regards,
    Svetoslav Borislavov

    Smart UI Team
    https://www.htmlelements.com/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.