#sanjeewa-paymentelement-readonly

1 messages ยท Page 1 of 1 (latest)

zenith cedarBOT
atomic summit
#

Hello ๐Ÿ‘‹
What code are you referring to?

spiral folio
#

Im referring to paymentelement

#

Is it right way I did it ?

atomic summit
#

yup, as far as I know that's how you'd disable inputs on the payment element

spiral folio
#

But seems it not working

#

I am still able edit the field content

atomic summit
#

hmm interesting, do you have a sample/example hosted app I can take a look at?

spiral folio
#

I tried this way also, taking individual field ID and set disabled to true

#

none of methods are working

spiral folio
atomic summit
#

ah okay, let me see if I can test on my end

spiral folio
#

Ok Thank you

atomic summit
#

having trouble to get the example app running ๐Ÿ˜ฆ
Are you seeing any errors in your console when you set readonly property?

atomic summit
#

It seems like we're able to reproduce this behavior on our end. We're looking into why its happening.

zenith cedarBOT
winter pulsar
#

sanjeewa-paymentelement-readonly

spiral folio
winter pulsar
#

@spiral folio set readOnly on creation

#

instead of doing update right after create (there's a bad race condition we're working on fixing)

#

Thanks for flagging, we can now fix it for everyone! Did you need help with anything else?