Michael created this task. Michael added projects: Wikidata, Wikidata Query Builder (Wikidata Query Builder - sprint 6). Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION The current TextInput comonent for the number of results in the Limit component allows any text to be entered. That is obviously not ideal and it should only allow numbers. Such a NumberInput (name still TBD) will maybe be developed in the Design System for the QuantityValueSelector (T255767 <https://phabricator.wikimedia.org/T255767>) that we will need in the Query Builder for the T268942: (MS 3) query for quantity values <https://phabricator.wikimedia.org/T268942> story. When that component is available in the Design System, evaluate whether it is suitable for the Limit component and use it if it is. That will also be the right moment to add proper validation and error messages. **acceptance criteria:** [ ] Evaluate if the Design System NumberInput is suitable for the Limit component [ ] use it if it is [ ] figure out something else if it isn't [ ] add validation to the Limit in Query-Builder (details TBD when we know more about the capabilities of the NumberInput) TASK DETAIL https://phabricator.wikimedia.org/T271943 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Michael Cc: Aklapper, Michael, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs