inline prop of DatePicker
#3693
-
|
Hello! First off, thank you very much for this excellent library. I have a question regarding the Date Picker component. The documentation mentions the Inline setting, but the actual sample code uses the Is this an error in the documentation, or is there a specific meaning and use for this property that I might have missed? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Thank you for reporting this inconsistency! You were absolutely correct - there was a mismatch between the documentation and the example code. I've now fixed all the examples across all frameworks (React, Solid, Vue, and Svelte) to use the inline prop as documented. The examples now correctly demonstrate: <DatePicker.Root inline>
<DatePicker.Input />
{/* Views without Portal, Positioner, or Content */}
</DatePicker.Root>The key difference between inline and open is:
|
Beta Was this translation helpful? Give feedback.
Thank you for reporting this inconsistency! You were absolutely correct - there was a mismatch between the documentation and the example code.
I've now fixed all the examples across all frameworks (React, Solid, Vue, and Svelte) to use the inline prop as documented. The examples now correctly demonstrate:
The key difference between inline and open is: