Oh-input-item: Actual item value not displayed

This can be done by setting step: 0.1

Update:

  • Display the number’s unit after the input field for numeric type
  • Make numeric input field right-aligned
  • Improve input-elements alignment
  • Accept Enter key to send the value, with or without a sendButton
  • Honor useDisplayState config

New:

  • Add min and max config
  • If the stateDescription on the item specifies minimum, maximum, and step, they will be used as the default, but it can be overridden by the widget’s config
  • Tested against Dimensionless Percent
  • Tested against patterns with multiple format specifiers, e.g. Test format %1$.4f and %1$.2f %unit%. The last format specifier will be used.

1 Like