()
| 67 | const hasInnerLabel = isPrimaryField && !!label; |
| 68 | const hasAdditionalSpacing = hasInnerLabel && !focused && !hasInput; |
| 69 | const getPaddingClass = (): string => { |
| 70 | if (!hasInnerLabel) { |
| 71 | return 'py-4'; |
| 72 | } |
| 73 | return hasAdditionalSpacing ? 'pt-2' : 'pt-1'; |
| 74 | }; |
| 75 | |
| 76 | return ( |
| 77 | <BaseFieldContainer |