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

Input components #191

Closed
11 tasks done
nicosammito opened this issue Aug 25, 2024 · 1 comment · Fixed by #241
Closed
11 tasks done

Input components #191

nicosammito opened this issue Aug 25, 2024 · 1 comment · Fixed by #241
Assignees

Comments

@nicosammito
Copy link
Contributor

nicosammito commented Aug 25, 2024

The current input component is outdated. Therefore we planned to completely re-develop the input component and also split it into separate components.

All those components should base on the parent raw Input component, that we will need for the development of Nodes later on.

Also, the Input component itself should support validation similar to @mantine/form. Either we decide to use this library, or something else or develop our own from the validation hook.

Every Input is based on those parts:

  • Label
  • Description
  • The Input component itself
  • Error
@nicosammito
Copy link
Contributor Author

For the RadioGroupInput we will rather create a Radio component based on a React provider and also implement a RadioButton.
This will create the following possible structure for e.g. RadioCards:

<Radio>
  <Card>
    <CardSection/>
    <RadioButton/>
  </Card>
</Radio>

@nicosammito nicosammito linked a pull request Nov 26, 2024 that will close this issue
@nicosammito nicosammito mentioned this issue Nov 26, 2024
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

Successfully merging a pull request may close this issue.

2 participants