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

Validate code matrix colcount/rowcount #3

Open
cxcorp opened this issue Dec 19, 2020 · 3 comments
Open

Validate code matrix colcount/rowcount #3

cxcorp opened this issue Dec 19, 2020 · 3 comments

Comments

@cxcorp
Copy link
Owner

cxcorp commented Dec 19, 2020

No description provided.

@ThatsNinja
Copy link
Contributor

Have you considered the implementation of a grid of textboxes? Something like:
https://github.com/denisraslov/react-spreadsheet-grid

@cxcorp
Copy link
Owner Author

cxcorp commented Jan 3, 2021

I haven't given that thought yet to be honest. For starters, I was mainly just thinking about raising a validation error if the given input isn't an n*n matrix.

@ThatsNinja
Copy link
Contributor

Just off the top of my head it doesn't sound super difficult to start with a 1*1 and expand it as a user enters codes out to the maximum row width, unless a user gives a newline.

It could have the benefit of having the matrix and solutions already stored as codes in arrays, and mapped back and forth from the UI.

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