feat(use-field): add use field to textarea, timeinput - #6705
Conversation
🦋 Changeset detectedLatest commit: 3546d91 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6705 +/- ##
==========================================
- Coverage 91.01% 91.00% -0.01%
==========================================
Files 560 560
Lines 10253 10233 -20
Branches 3692 3707 +15
==========================================
- Hits 9332 9313 -19
+ Misses 921 920 -1
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
cade90d to
0db4bfc
Compare
| * Classic prop type where label is a ReactNode and aria-label is a string. | ||
| * One or another is required. | ||
| */ | ||
| export type FormComponentProps = { |
There was a problem hiding this comment.
should we add
* Display an error message under the select bar
*/
error?: string | boolean
206f4e0 to
87ba9e6
Compare
Signed-off-by: Alexandre Philibeaux <aphilibeaux@scaleway.com>
87ba9e6 to
3546d91
Compare
| const DEFAULT_VALUE = new Date('01/01/2000 11:23:14') | ||
|
|
||
| describe('timeInput', () => { | ||
| it('renders correctly with base props', () => shouldMatchSnapshot(<TimeInput />)) |
| "@ultraviolet/form": patch | ||
| --- | ||
|
|
||
| use new useField hook to TimeInputField, TextAreaField which allow usage of the rhf register api" |
There was a problem hiding this comment.
| use new useField hook to TimeInputField, TextAreaField which allow usage of the rhf register api" | |
| use new useField hook to TimeInputField, TextAreaField which allow usage of the rhf register api |
+ I think it's missing a changeset for the changes you made in ultraviolet ui
Summary
Type
Summarize concisely:
What is expected?
Migrate TextAreaField, TimeInputField with new hook: useField