Open rolfheij-sil opened 7 months ago
For checkbox 2, you could just use form validation that you extend to understand valid VerseRefs. And display form validation errors (with hints on how to fix) below the control. You can use VerseRef to help with form validation, see the second TS example here for VerseRef validation.
As a user I want a powerful and intuitive book-chapter-verse selector component so that I can easily navigate to the desired scripture.
In https://github.com/paranext/paranext-core/issues/789 we created a new BCV control. Several behavior improvements were proposed, some of which have already been implemented. The remaining ones are described in this issue.
Enter
key. (If the written/pasted reference is invalid, provide the default error cue in the BCV input - cue currently tbc by UX - likely something like "red outline + icon" or "red outline and shake field")GEN Genesis
, and not justGenesis
. If the book name is also available in localized project format, show this. e.g.:GEN Genesis 1. Mozus
PSA
), full names (Psalms
) and localized names (Psaumes
)PSA 62 5
,PSA 62:5
or evenPSA-62.5
)Ge
filters only toGenesis
, it does not display bothGenesis
andJudges
.