For a better visual experience, add placeholders in text field and text area components.
This rule checks if you have added a placeholder in the <Form.TextField>
and <Form.TextAarea>
components.
Examples of incorrect code for this rule:
<Form.TextField title="Name" />
<Form.TextArea title="Summary" />
Examples of correct code for this rule:
<Form.TextField placeholder="John Doe" title="Name" />
<Form.TextArea
placeholder="Write a brief description here..."
title="Summary"
/>