update
This commit is contained in:
23
readme.md
23
readme.md
@ -455,15 +455,15 @@ Dynamic list input for managing arrays of typed values.
|
||||
```
|
||||
|
||||
#### `DeesInputDatepicker`
|
||||
Date and time picker component with calendar interface.
|
||||
Date and time picker component with calendar interface and manual typing support.
|
||||
|
||||
```typescript
|
||||
<dees-input-datepicker
|
||||
key="eventDate"
|
||||
label="Event Date"
|
||||
placeholder="Select date"
|
||||
placeholder="YYYY-MM-DD"
|
||||
value="2025-01-15T14:30:00Z" // ISO string format
|
||||
dateFormat="DD/MM/YYYY" // Display format
|
||||
dateFormat="YYYY-MM-DD" // Display format (default: YYYY-MM-DD)
|
||||
enableTime={true} // Enable time selection
|
||||
timeFormat="24h" // Options: 24h, 12h
|
||||
minuteIncrement={15} // Time step in minutes
|
||||
@ -481,6 +481,7 @@ Date and time picker component with calendar interface.
|
||||
|
||||
Key Features:
|
||||
- Interactive calendar popup
|
||||
- Manual date typing with multiple formats
|
||||
- Optional time selection
|
||||
- Configurable date format
|
||||
- Min/max date constraints
|
||||
@ -490,6 +491,22 @@ Key Features:
|
||||
- Clear functionality
|
||||
- 12/24 hour time formats
|
||||
- Theme-aware styling
|
||||
- Live parsing and validation
|
||||
|
||||
Manual Input Formats:
|
||||
```typescript
|
||||
// Date formats supported
|
||||
"2023-12-20" // ISO format (YYYY-MM-DD)
|
||||
"20.12.2023" // European format (DD.MM.YYYY)
|
||||
"12/20/2023" // US format (MM/DD/YYYY)
|
||||
|
||||
// Date with time (add space and time after any date format)
|
||||
"2023-12-20 14:30"
|
||||
"20.12.2023 9:45"
|
||||
"12/20/2023 16:00"
|
||||
```
|
||||
|
||||
The component automatically parses and validates input as you type, updating the internal date value when a valid date is recognized.
|
||||
|
||||
#### `DeesInputSearchselect`
|
||||
Search-enabled dropdown selection component.
|
||||
|
Reference in New Issue
Block a user