#Date Range Component from Ui always submitting form when selecting a date
26 messages ยท Page 1 of 1 (latest)
Hey, thanks for reporting it will be fixed in next release tomorrow ๐
when using both of them in the same app fokus model is forced on the same width as the drawer...
only right side
Are you building a Admin extension or working on a separate app using Next or some other framework?
Building a seperate app with nextjs and Medusa ui
I faced the same issue Today, I'm glad it's getting fixed.
In my experience with the calendar range, I had it on a Modal that was not too big and it couldn't fit both calendars altogether, making it to have one below the other. It could be great if somehow it could be bigger than the container it is in to avoid that kind of behavior
What time is the release happening today?
Not sure if its happening today, trying to resolve the issue with the drawer and focus modal replacing one another, and it is hard to debug and might be an issue that will need to be fixed in Radix, and not something we can fix ourselves unfortunatly.
Could you test out if the issue is resolved if you install this snapshot:
yarn add @medusajs/ui@0.0.0-snapshot-20230911133059
yep
the issue with drawer and focus model is fixed.
both work independent from each other (the width of the drawer works as suppos now.)
the issues regarding the calendar and submitting forms when selecting specific dates is also fixed.
looks to work as expected now! @queen anvil
Great! Many thanks Kasper for the fix ๐
when is the rerlease roughly coming out also regarding the multi step fokus model?
or is that example / guide already available?
Our designer is back from vacation, so waiting for some todo designs to come in for a new set of components we want to include. The components needed for building a wizard is available in the snapshot I gave you, here is a rough implementation:
awesome
lmk if u guys need help with the new components not sure if this is like open source or smth but i don't mind giving a helping hand ๐
ty!
What do u think is the best approach for this? having one form that has 3 different steps or 3 different forms that get validated indidually?