Frontmatter
| id | 3875 |
| title | Sub label for Neo.form.field |
| state | Closed |
| labels | enhancement |
| assignees | [] |
| createdAt | Jan 16, 2023, 1:40 PM |
| updatedAt | Jan 17, 2023, 12:13 PM |
| githubUrl | https://github.com/neomjs/neo/issues/3875 |
| author | ki1pen |
| commentsCount | 3 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 17, 2023, 12:13 PM |
Sub label for Neo.form.field
ki1pen changed title from Sub label for Neo.Form.Field to Sub label for Neo.form.field on Jan 16, 2023, 1:40 PM

tobiu
Jan 17, 2023, 8:33 AM
Hi Kiattipoom!
I will start with form.field.Text, which will also include the feature for DateFields, PickerFields & SelectFields.
Do we need this for checkboxes and radios as well?
TextFields have 5 different labelPositions => top, right, bottom, left & inline. I think we do need to limit the new config to only get used for the top position. I guess bottom could work too.
Thoughts?

ki1pen
Jan 17, 2023, 9:37 AM
form.field.Text should be enough for now. Top and bottom labelPositions work. But most of the use case would be top labelPosition.

tobiu
Jan 17, 2023, 12:13 PM
finished the support for position top. i think we can ignore bottom.

tobiu closed this issue on Jan 17, 2023, 12:13 PM
ki1pen closed this issue on Jan 17, 2023, 1:38 PM
Need sub label under the label for Neo.Form.Field Suggestion: Add a config subLabelText to write the sub label and subLabelStyle to add style and color