LearnNewsExamplesServices
Frontmatter
id3325
titleform.field.Text: dynamically adding errors
stateClosed
labels
enhancement
assigneestobiu
createdAtJul 29, 2022, 1:15 PM
updatedAtJul 29, 2022, 2:57 PM
githubUrlhttps://github.com/neomjs/neo/issues/3325
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJul 29, 2022, 2:57 PM

form.field.Text: dynamically adding errors

Closed v8.1.0 enhancement
tobiu
tobiu commented on Jul 29, 2022, 1:15 PM

This feature is important for server-side validations. E.g. a form where field values are getting checked VS BE-rules.

This feature feels like an epic, since it requires multiple changes.

  1. isValid() needs to check if there is an errorText (or error) in place.
  2. changing errorText needs to update the UI.
  3. we need a new validate method which checks for client side errors (on value change)
tobiu added the enhancement label on Jul 29, 2022, 1:15 PM
tobiu assigned to @tobiu on Jul 29, 2022, 1:15 PM
tobiu referenced in commit 12ed441 - "#3325 field.Base: validate()" on Jul 29, 2022, 1:18 PM
tobiu referenced in commit dd309e6 - "#3325 form.field.Text: validate(), adjusted isValid()" on Jul 29, 2022, 1:23 PM
tobiu referenced in commit 40aa405 - "#3325 form.field.Text: replaced updateValidationIndicators()" on Jul 29, 2022, 1:34 PM
tobiu referenced in commit c51fbb6 - "#3325 form.field.Text: updateError()" on Jul 29, 2022, 1:38 PM
tobiu referenced in commit 6b25989 - "#3325 form.field.Text: updateError() silent param, validate() => silent param" on Jul 29, 2022, 1:55 PM
tobiu referenced in commit 04abdbb - "#3325 form.field.Number: afterSetMaxValue(), afterSetMinValue() adjustment" on Jul 29, 2022, 1:58 PM
tobiu referenced in commit db14bd4 - "#3325 form.field.Text: validate() => logic enhancements" on Jul 29, 2022, 2:31 PM
tobiu referenced in commit e60403e - "#3325 examples.form.field.text.MainContainer: error TextField" on Jul 29, 2022, 2:52 PM
tobiu referenced in commit 4fabbae - "#3325 examples.form.field.text.MainContainer: clearing the new error field in case we change the field value" on Jul 29, 2022, 2:57 PM
tobiu closed this issue on Jul 29, 2022, 2:57 PM