You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using our input elements (ino-input, ino-select, ino-checkbox, ...) I want to be able to use them in a form with the relevant functionalities.
Required
Add the required attribute to all input elements and check if an invalid state is already implemented
ino-autocomplete
ino-checkbox
ino-datepicker
ino-input
ino-input-file
ino-radio(-group)
ino-range
ino-select
ino-switch
ino-textarea
open a new issue, if there is no visual indicator for an invalid state
Focus & Blur
For some validation mechanisms, it is necessary to trigger the blur & focus methods of the input components.
ino-autocomplete
ino-checkbox
ino-datepicker
ino-input
ino-input-file
ino-radio(-group)
ino-range
ino-select
ino-switch
ino-textarea
Validation States & Message
As is the case for the ino-input, we should provide properties to mark the component as invalid from the outside, following our controlled components concept. Furthermore, it is necessary to provide a way to show custom error messages as well.
ino-autocomplete
ino-checkbox
ino-datepicker
ino-input
ino-input-file
ino-radio(-group)
ino-range
ino-select
ino-switch
ino-textarea
Summary
In the end, every input component should have the following methods/properties (names are WIP):
The text was updated successfully, but these errors were encountered:
janivo
added
feature
This issue introduces a new feature
discussion
This issue needs to be discussed further
new
This issue has been recently added and has no estimation
labels
Sep 9, 2021
janivo
added
est-medium
new
This issue has been recently added and has no estimation
and removed
new
This issue has been recently added and has no estimation
labels
Sep 24, 2021
Feature Request
When using our input elements (
ino-input
,ino-select
,ino-checkbox
, ...) I want to be able to use them in a form with the relevant functionalities.Required
Add the
required
attribute to all input elements and check if an invalid state is already implementedopen a new issue, if there is no visual indicator for an invalid state
Focus & Blur
For some validation mechanisms, it is necessary to trigger the
blur
&focus
methods of the input components.Validation States & Message
As is the case for the
ino-input
, we should provide properties to mark the component as invalid from the outside, following our controlled components concept. Furthermore, it is necessary to provide a way to show custom error messages as well.Summary
In the end, every input component should have the following methods/properties (names are WIP):
required
setFocus()
setBlur()
error
helper
(maybe rename tohelperText
?)helperPersistent
helperValidation
showLabelHint
for an explanation of each property, have a look at the API of the
ino-input
elementThe text was updated successfully, but these errors were encountered: