Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DatePicker widget #185

Open
jennur opened this issue Jan 19, 2023 · 0 comments
Open

DatePicker widget #185

jennur opened this issue Jan 19, 2023 · 0 comments

Comments

@jennur
Copy link
Member

jennur commented Jan 19, 2023

Screenshot 2023-01-19 at 13 37 28

We need a date widget to be added for DateField, like the one represented on the screenshot.

Existing widgets are already available in the react-invenio-forms. The new widget component must follow the same interface structure as the existing ones - so that it can be also reused in the future - some of the modules are expecting the same props in all the defined widgets.

History

From inveniosoftware/invenio-administration#149

DatePicker postponed as it needs more investigation.

I've tried to use the the same module (semantic-ui-calendar-react) used in ils, but it seems to not be working in react-invenio-forms.

I'm getting some weird errors in the imported component that I've not been able to solve:

Image
Everything looks fine in the <InputView/> component, so maybe it's not compatible (the latest commit in this module was in 2019, so it doesn't seem to be maintained).

Possible other modules we can use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant