Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add <span> tag to (optional) suffix for customization (#7103)
* Add <span> tag to (optional) suffix for customization With the <span> (or any) tag we can add CSS like: ```css body { [class*=FieldLabel-fieldLabel] span { display: none; } } ``` to hide or customize the _(optional)_ suffix. It'll specially useful when majority of the fields are optional, we can also use CSS :has to select required fields and add a _*_ for example. * Update EditorControl.js * chore: format * chore: preventing empty space on field label * Update EditorControl.js * test: remove extra space from expected result in e2e test --------- Co-authored-by: Anze Demsar <[email protected]> Co-authored-by: Martin Jagodic <[email protected]>
- Loading branch information