I see, although I find the fact that plain HTML uses <input type="number"> an implementation detail and would rather differentiate the editors based on intended lexical values they expect. Does the name TextFieldEditor suggest that it should be used for string exclusively?
And dates in plain HTML are also using <input type="date"> after all. For me right now it is a little awkward as I load required editors dynamically by their (dash) identifier. With dash:TextFieldEditor being overloaded I have to load multiple components (separate for plain text and separate for numbers). It not a really big deal but something to consider wtorek, 7 lipca 2020 o 01:02:37 UTC+2 Holger Knublauch napisaĆ(a): > Currently, editing numbers is covered by > http://datashapes.org/forms.html#TextFieldEditor > The widget itself can for example activate <input type="number"> based on > the provided datatype. > > What other number editors that do not resemble text input fields exist? > > Regards > Holger > > > On 7/07/2020 04:48, Tomasz Pluskiewicz wrote: > > I think a dash:NumberEditor should be added to the vocabulary. > > I would define it to apply to properties where sh:datatype is xsd:float, > xsd:double or any subtype of xsd:decimal. > > Not sure, but I my gut tells me that a dedicated viewer type is not > necessary > > Best, > Tom > > -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/7fb17e70-6f16-4ba8-a9db-aeb037e750b5n%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/7fb17e70-6f16-4ba8-a9db-aeb037e750b5n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/5ffedf31-f4dd-4b83-8d4f-f80c868c306cn%40googlegroups.com.
