elimu-ai / webapp

🖥 Web application for hosting Android applications and educational content
https://hin.elimu.ai
MIT License
30 stars 57 forks source link

Do not allow words that are digits #1532

Open nya-elimu opened 2 years ago

nya-elimu commented 2 years ago

Make it impossible to create/edit words that are digits.

To prevent numbers from mistakenly being added as words (e.g. "10" instead of 10), display an error message if he content creator tries to add digits as a word.

In this example, "ten" should be added as a Word, and 10 should be added as a Number.

Screen Shot 2022-04-01 at 5 45 31 PM

Numbers should be added to /content/number/list instead.


Relates to #420

nya-elimu commented 2 years ago

@watr-sheep Would you be interested in having a look at this issue? 🙂

It relates to #420, which you implemented earlier.

tomaszsmy commented 2 years ago

https://github.com/elimu-ai/webapp/pull/1583