Skip to content

Inconsistency for required Text Input and Checkbox #925

@idimovska

Description

@idimovska

There is an inconsistency if we need a Text input and Check box to be mandatory fields(required).
For Check box there is a required:boolean prop (If true, the checkbox will change its appearence, showing that the value is required.)
For Text Input it is missing such a prop required. There is an optional: boolean prop (If false, will be considered required )

The 2 types of fields look really different and inconsistent: the Check box has a red asterisk and the Text Input has not(if optional=false).

Expected behavior
Unify the look of the 2 components if the field is required(mandatory).

2022-04-21 16_14_35

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions