#FallenBlade

1 messages · Page 1 of 1 (latest)

grizzled laurelBOT
buoyant jay
#

Unfortunately not, that call has to be made from the backend

#

Then you can pass that data to the frontend from there

daring minnow
#

Okay, got it. Thanks for the info.

#

Is it possible to disable the label here?

buoyant jay
#

Is that part of the payment element?

daring minnow
#

I mean, the label itself (the appearance)

#

Is that possible?

buoyant jay
#

Oh I gotcha, unfortunately not sure on that. Looking in to that and will get back to you

buoyant jay
#

But was having trouble finding specifically how to hide them

daring minnow
#

Thanks! I'm currently stuck in adjusting the padding of the input, is this the right way in adjusting the padding of the Input:

  const appearance = {
    theme: 'stripe',
    labels: 'floating',
    variables: {
      colorPrimary: '#0A023D',
      colorBackground: '#ffffff',
      colorText: '#333333',
      colorDanger: '#A30000',
      fontFamily: 'Varela Round, system-ui, sans-serif',
      borderRadius: '100px',
      // spacingUnit: '3px',
      spacingGridColumn: '15px',
      spacingGridRow: '15px',
    },
    rules: {
      '.Input': {
        paddingTop: '10px',
        paddingBottom: '10px',
        paddingLeft: '20px',
        paddingRight: '20px',
        border: '2px solid #0a023d',
      },
     
    
    }
  };