Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #109963
    Laila
    Participant

    Hi,

    I’m using the checkout form and i want to make this field read-only

    {
    dataField: ‘name’,
    value: ‘pc2’,
    label: ‘Name’,
    cssClass: ‘outlined’,
    controlType: ‘input’
    },
    and another field to be calculated depending on the input field. Could you please help me?

    Many thanks in advance!

    • This topic was modified 2 months, 3 weeks ago by Laila.
    #109966
    ivanpeevski
    Participant

    Hi Laola,

     

    To make a field read-only, you can set “disabled: true”.

    For the second question, please see the Checkout demo here – https://www.htmlelements.com/demos/form/checkout/

    You will see that the field at orderSummary.order.products is dependent on the information contained in the payment method fields.

    You can do this by updating the value inside the onValueChanges callback

     

    Best Regards,
    Ivan Peevski
    Smart UI Team
    https://www.htmlelements.com/

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