Skip to content
Snippets Groups Projects
Commit c8eb44a3 authored by utkarsh_33's avatar utkarsh_33 Committed by Ben Mullins
Browse files

Issue #3465140 by Utkarsh_33, bnjmnm, Wim Leers: Regression: prop labels...

Issue #3465140 by Utkarsh_33, bnjmnm, Wim Leers: Regression: prop labels present on field widgets, but invisible
parent c5212d1a
No related branches found
No related tags found
1 merge request!133Changed the color for text as we are using white background
Pipeline #241314 passed
.componentFieldForm {
color: white;
}
import { a2p } from '@/local_packages/utils.js';
import { createContext, useState } from 'react';
import type * as React from 'react';
import styles from './Form.module.css';
interface FormProps {
attributes: {
......@@ -29,8 +28,6 @@ const Form = ({
const [formState, setFormState] = useState({
formId: attributes['data-drupal-selector'] || '',
});
const existingClass = attributes.class || '';
attributes.class = `${existingClass} ${styles.componentFieldForm}`;
return (
<FormStateContext.Provider value={formState}>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment