You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a <Text /> field has an empty value, the styling that was intended for this element was omitted because the htmlProps were not applied to the DefaultEmptyFieldEditingComponentText whose rendering was only return <span>[No text in field]</span>
To Reproduce
Create a styling for the text element, for example:
Describe the Bug
When a
<Text />
field has an empty value, the styling that was intended for this element was omitted because thehtmlProps
were not applied to theDefaultEmptyFieldEditingComponentText
whose rendering was onlyreturn <span>[No text in field]</span>
To Reproduce
Create a styling for the text element, for example:
Apply CSS class in the
<Text />
component:Where
props.field.TextField
is aField<string>
and is empty.Here's a real life example, where the field
Secondary Topic
is empty in one, and populated on anotherExpected Behavior
Styling should still appear even if the text field has an empty value.
Possible Fix
Ensure
DefaultEmptyFieldEditingComponentText
component would still apply thehtmlProps
Provide environment information
The text was updated successfully, but these errors were encountered: