kbss-cvut / s-forms

SForms - Semantic form generator and processor. For ontology-based smart forms.
GNU Lesser General Public License v3.0
4 stars 7 forks source link

Cannot read length property in Storybook #365

Closed blcham closed 3 weeks ago

blcham commented 1 month ago

Reported by @palagdan:

I also found an error when I clicked on some of the select inputs (not all).

select-error-length-1 select-error-length

Originally posted by @palagdan in https://github.com/kbss-cvut/s-forms/issues/364#issuecomment-2399794387

blcham commented 1 month ago

Related to domain specific questions:

blcham commented 1 month ago

It looks like we do not have property possible-values or possible-values-query defined.

E.g. Diagnostic procedure is defined as:

{
      "has-origin-type": "http://onto.fel.cvut.cz/ontologies/eccairs/aviation-3.4.0.2/a-451",
      "label": "Diagnostic procedure",
      "has-question-origin": "http://onto.fel.cvut.cz/ontologies/eccairs/model/instance#instance-288773857",
      "comment": {
        "@value": "  ",
        "@language": "en"
      },
      "@id": "http://vfn.cz/ontologies/fss-form/diagnosis-diagnostic-procedure-q",
      "has-template": "http://onto.fel.cvut.cz/ontologies/eccairs/aviation-3.4.0.2/a-451-qt",
      "@type": "doc:question",
      "has-layout-class": "type-ahead"
    },
blcham commented 1 month ago

image